EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
May 17, 2024, 12:47: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
>
General Discussion
>
get whole data in the grid
Pages: [
1
]
« previous
next »
Print
Author
Topic: get whole data in the grid (Read 15041 times)
manojvijayan
Newbie
Posts: 13
get whole data in the grid
«
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
Re: get whole data in the grid
«
Reply #1 on:
December 03, 2012, 10:25:50 AM »
Try datagrid('getRows')
Logged
Ellipsis
Full Member
Posts: 113
Re: get whole data in the grid
«
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
Re: get whole data in the grid
«
Reply #3 on:
December 26, 2012, 07:11:50 PM »
Try this one, then I think you will know what to do next
Code:
var myData = $('#my_datagrid_id').datagrid('getData');
alert('myData : ' + JSON.stringify(myData));
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...