EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
November 05, 2025, 06:31:03 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 get current selected page size value in datagrid
Pages: [
1
]
« previous
next »
Print
Author
Topic: How to get current selected page size value in datagrid (Read 19706 times)
yogesh
Newbie
Posts: 47
How to get current selected page size value in datagrid
«
on:
September 20, 2012, 08:18:58 AM »
is there anyway to get the current select pagesize value of the datagrid
i dont want to user onSelectPage:function(pageNumber, pageSize)
i want to check the selected list value from the out side of the datagrid control for example on click of the outside button
Logged
stworthy
Administrator
Hero Member
Posts: 3581
Re: How to get current selected page size value in datagrid
«
Reply #1 on:
September 20, 2012, 08:34:14 PM »
Calling 'options' method of datagrid to get the properties of datagrid.
Code:
var opts = $('#dg').datagrid('options');
alert(opts.pageSize);
Logged
yogesh
Newbie
Posts: 47
Re: How to get current selected page size value in datagrid
«
Reply #2 on:
September 24, 2012, 12:50:08 AM »
thank you its working
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...