Pipelining (lazy loading) data with javascript arrays as data source
Pipelining (lazy loading) data with javascript arrays as data source
dre85
Posts: 2Questions: 1Answers: 0
I would like to know if it is possible to provide Datatables a JS object that defines the pagination properties? Something like "show 1 of 10 pages and 300 total entries" while only providing it actual data for the first page. Ideally I would then hook into the "next page" event and provide it with more data in the form of javascript arrays.
Thanks!
This discussion has been closed.
Answers
Not an object, but you can provide a string to give that information -
language.info
in this case. Example: http://live.datatables.net/dujiqaje/1/editEdit - the tokens on the
language.info
page are based escaped - they shouldn't have a\
! I'll fix soon.Allan
Thanks for the help Allan! It turns out that I was looking for the server-side processing feature with ajax set as a custom function. This resolved the issues I was having.