EasyUI Forum
September 23, 2020, 12:09:44 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Datagrid with pagination true , how to customize page size?  (Read 15745 times)
taliguci
Newbie
*
Posts: 6


View Profile Email
« 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">
Logged
stworthy
Administrator
Hero Member
*****
Posts: 3575


View Profile Email
« Reply #1 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]">
Logged
ltpitt
Newbie
*
Posts: 6


View Profile Email
« Reply #2 on: May 13, 2014, 06:20:58 AM »

Neat!

How can I make it 100% width?
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!