EasyUI Forum
November 05, 2025, 06:31:03 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: How to get current selected page size value in datagrid  (Read 19706 times)
yogesh
Newbie
*
Posts: 47


View Profile Email
« 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


View Profile Email
« 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


View Profile Email
« Reply #2 on: September 24, 2012, 12:50:08 AM »

thank you its working
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!