EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
April 28, 2024, 01:57:49 PM
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
>
Export all data of a datagrid in server side page mode
Pages: [
1
]
« previous
next »
Print
Author
Topic: Export all data of a datagrid in server side page mode (Read 4095 times)
acreonte82
Jr. Member
Posts: 85
Export all data of a datagrid in server side page mode
«
on:
March 28, 2020, 08:31:24 AM »
Hello to all!
I've a datagrid with server side pagination and a button to download the data in file excel.
My need is: is it possible to download the entire data of the datagrid using the server side pagination?
The method $(dg).datagrid('getData') get the paginated rows, so if i've 10 record per page i download just the first 10 record
Some one has solved this "problem" without client side pagination way?
«
Last Edit: March 29, 2020, 12:43:20 AM by acreonte82
»
Logged
jarry
Administrator
Hero Member
Posts: 2262
Re: Export all data of a datagrid in server side page mode
«
Reply #1 on:
March 29, 2020, 11:37:12 PM »
When the server side pagination is enabled, the datagrid only stores the current page rows. You can't retrieve all the entire data from the client side. So the possible solution is to download from your server side instead of the client side.
Logged
acreonte82
Jr. Member
Posts: 85
Re: Export all data of a datagrid in server side page mode
«
Reply #2 on:
March 30, 2020, 01:12:07 AM »
Thanks for reply..
I will try to build a trick ..
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...