how to send back data to the server

how to send back data to the server

disadisa Posts: 1Questions: 1Answers: 0

hi guys i'm a little new on datatables and i'm looking for a way to send all the data that i already have loaded in a datatable to the server, like a datatable.get_data(); or something similar.

The problem here is that i'm loading a lot of data in the datatable from a database, and i have a download file on the view, so i need to send this data to the server, but only the data that i have filtered, because i have a lot of filters, like date filters, select and dselect columns etc. so i'm trying to avoid multiple petitions to the databases..

in other words, is there a way to get all the data in an array or json that is showing in the datatable ?

This discussion has been closed.