Quantcast
Channel: Free community support — DataTables forums
Viewing all articles
Browse latest Browse all 35270

How can I redraw the table with data in a local javascript array variable?

$
0
0

Well, I do use ajax to first fetch the data, however, the ajax call gives me an XML file which I have to parse and convert it to JSON format.

Therefore currently I render the datatable using the "data":someJavascriptArray, "columns":someOtherJSArray options.

How can I redraw the table when I fetch a different set up data?

Should I modify the backend just to render a table?


Viewing all articles
Browse latest Browse all 35270

Trending Articles