Updating array data

Updating array data

andyle2kandyle2k Posts: 5Questions: 1Answers: 0

Hi guys,

First I want to say thanks for all the hard work getting this brilliant plugin out there. I use it extensively and almost exclusively on all my projects for quite some time now. With the new support structure I felt compelled to show a little token of my gratitude but I think you guys definitely deserve much more!

Flattery out of the way, I just wanted to know if there is a better/faster way to update a dt's datasource using js arrays? Right now I'm running AJAX calls to get the new data then doing a dt.rows.add(new_array_data).draw() it's working great for small datasets but I feel this might be a problem if the array gets too big.

Reason I'm not using dt.ajax.url(http://ajax_update).load() is because my ajax page returns other useful things such as status error messages so doing a normal JQuery AJAX call is better for me.

Thanks again and keep up the good work.

This discussion has been closed.