Server side export - Get state of filtering/search and send to server?
Server side export - Get state of filtering/search and send to server?
Hi Allan!
So, im using html5 export and it works just perfectly on moderate amounts of data. However, as i can tell from my own experience, and searching the forum/documentation, it is not optimal for large datasets. My users may in rare occations want to download as much as 4000 rows in one go, with 16 columns each.
Therefore i believe my best option(?) is to not use buttons, and create the file on my asp.net web api.
My only concern though, is how to do it intelligently like the buttons export. The Buttons export buttons will export the table in the current state, all searches/filtering taken into consideration. Is there a way for me to get the current filtering/searching status of the table, or maybe return the data of column(x) for all the data in the current state. Then i could send that to the server and use that way create the same table.
Sorry for long text, hope you get what i mean!
Regards, Anders
This question has an accepted answers - jump to answer
Answers
Bump :)
Have a look at
ajax.params()
or perhapssearch()
if you only want the search value.Allan