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

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

SiegeLionSiegeLion Posts: 8Questions: 6Answers: 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?

Answers

This discussion has been closed.