EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
May 21, 2024, 06:20:33 AM
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
>
EasyUI for jQuery
>
How to change the Datagrid page size by code
Pages: [
1
]
« previous
next »
Print
Author
Topic: How to change the Datagrid page size by code (Read 10209 times)
yogesh
Newbie
Posts: 47
How to change the Datagrid page size by code
«
on:
September 20, 2012, 07:32:49 AM »
Hi,
How to change data grid page size bye code for example
default selected is 10 from the list [10,20,30,40,50]
i want to select 20 as default but want to give 10 in option list
Logged
yogesh
Newbie
Posts: 47
Re: How to change the Datagrid page size by code
«
Reply #1 on:
September 20, 2012, 07:44:23 AM »
i got the answer
$('#dg').datagrid({
pageNumber:1,
pageSize:20
});
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...