EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
March 28, 2024, 09:41:35 PM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
:
Home
Help
Search
Login
Register
EasyUI Forum
>
General Category
>
General Discussion
>
Datagrid with pagination true , how to customize page size?
Pages: [
1
]
« previous
next »
Print
Author
Topic: Datagrid with pagination true , how to customize page size? (Read 19604 times)
taliguci
Newbie
Posts: 6
Datagrid with pagination true , how to customize page size?
«
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: 3581
Re: Datagrid with pagination true , how to customize page size?
«
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
Re: Datagrid with pagination true , how to customize page size?
«
Reply #2 on:
May 13, 2014, 06:20:58 AM »
Neat!
How can I make it 100% width?
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> News
=> General Discussion
=> EasyUI for jQuery
=> EasyUI for Angular
=> EasyUI for Vue
=> EasyUI for React
=> Bug Report
Loading...