[1.10.x] JavaScript data source - how to reload data using API
[1.10.x] JavaScript data source - how to reload data using API
Hi,
In the simplest use case ever -- a JS data object serving as the data source -- what is the API call/calls to load new data into the table. In other words, I init the table using JS Data Object #1 and later, via the API, I'd like to reload the table from data stored in JS Data Object #2.
This is all client side, so no server calls needed.
There used to be fnAddData if memory serves, but what became of it in the new, modern API?
This question has an accepted answers - jump to answer
Answers
http://datatables.net/upgrade/1.10-convert
rows.add()
androw.add()
in this case - but the convert document tangerine links to covers all bases :-)Allan
Thanks!
In my case rows.add() is what I was looking for.
I've never found the "conversion" page which is quite nice, and I think I passed over the "rows/row" apis because I was so focused on the Whole Table concept.