EasyUI Forum
May 04, 2024, 02:09:34 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: table width in percent  (Read 5360 times)
wymak
Newbie
*
Posts: 26


View Profile
« on: November 15, 2014, 09:10:04 PM »

Dear All;

I tried to specify the width of table in percent, like 'width:100%' as below:

<table id="currSS"  class="easyui-datagrid" style="width:100%;height:150px" 
            url="curr_ss.php?hdr=plee"   pagination="false" idField="descp" 
            rownumbers="false" fitColumns="true" singleSelect="true" showFooter="true"
          > 

The width of table turns out to be 100pixels, instead of the 100%  of browser width, please tell me how to specify the width of table to 100% of browser width.

Thanks,
mak
Logged
jarry
Administrator
Hero Member
*****
Posts: 2262


View Profile Email
« Reply #1 on: November 16, 2014, 01:44:10 AM »

The percentange size is supported since version 1.4. Please try to update EasyUI to the newest version.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!