EasyUI Forum
May 17, 2024, 12:47:33 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: get whole data in the grid  (Read 15041 times)
manojvijayan
Newbie
*
Posts: 13


View Profile Email
« on: December 03, 2012, 04:03:51 AM »

I have created a grid panel.It has no of records. I want to get all data in the grid when click a button.This function is working, if select entire row using datagrid('getSelections');

is possible get entire data in the grid without select the rows?

Logged
mzeddd
Full Member
***
Posts: 223



View Profile
« Reply #1 on: December 03, 2012, 10:25:50 AM »

Try datagrid('getRows')
Logged
Ellipsis
Full Member
***
Posts: 113


View Profile WWW
« Reply #2 on: December 06, 2012, 03:10:54 AM »

Not possible I think when the datagrid itself does not have all the data retrieved, think of serverside pagination etc.
Logged
dandies
Newbie
*
Posts: 2


View Profile
« Reply #3 on: December 26, 2012, 07:11:50 PM »

Try this one, then I think you will know what to do next Smiley
Code:
var myData = $('#my_datagrid_id').datagrid('getData');
alert('myData : ' + JSON.stringify(myData));
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!