EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: wymak on November 15, 2014, 09:10:04 PM



Title: table width in percent
Post by: wymak 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


Title: Re: table width in percent
Post by: jarry 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.