Basic Question: How to flush and load inject new data ?

Basic Question: How to flush and load inject new data ?

BrownChiLDBrownChiLD Posts: 1Questions: 1Answers: 0

Hi Guys

So i have the habit of loading data from backend via my own JS stored functions, and I wanted to simply use the datatable framework for display and sorting.

W/ that said, I pretty much got the initial display to work by simply initiating the datatable instance w/ data declared (Object)

Now my problem is if i need to reresh this table with another set of data... i can't seem to figure this one out. The only way i got this to work for now is completely destroying the DT instance and re-creating it w/ the new data which seems a little bit off.. There should be a way to simply update the existing instance, right?

This discussion has been closed.