EasyUI Forum

General Category => General Discussion => Topic started by: taliguci on March 28, 2014, 07:34:35 PM



Title: Datagrid with pagination true , how to customize page size?
Post by: taliguci on March 28, 2014, 07:34:35 PM
how to change (customize) page list while datagrid pagination set true?  default 10 20 30 50 but i want to change 12, 100, 400
 
<table id="001" style="width:910px;height:480px" class="easyui-datagrid" url="data_001.php"  toolbar="#tb" pagination="true" rownumbers="false" fitcolumns="true" title="data 001">


Title: Re: Datagrid with pagination true , how to customize page size?
Post by: stworthy on March 29, 2014, 05:27:56 PM
Please set 'pageList' property for datagrid.
Code:
<table id="001" style="width:910px;height:480px" class="easyui-datagrid" url="data_001.php"  toolbar="#tb" pagination="true" rownumbers="false" fitcolumns="true" title="data 001" pageList="[12,100,400]">


Title: Re: Datagrid with pagination true , how to customize page size?
Post by: ltpitt on May 13, 2014, 06:20:58 AM
Neat!

How can I make it 100% width?