Datatable and json data

Datatable and json data

hchahcha Posts: 3Questions: 2Answers: 0

Hi,
My DataTable gets data from a JSON data source obtained by Ajax.
Once my table is filled, the user can add rows. I use row.child to update the table BUT the latter is no longer synchronised with the initial JSON data. Do I have to synchronise it or is it not necessary ?
Thanks!

Replies

  • kthorngrenkthorngren Posts: 21,309Questions: 26Answers: 4,947

    Do I have to synchronise it or is it not necessary ?

    If you want to save the data to your data source then you will need to write something to push the new data to the server.

    If all you want is to display the new data then as long as its displayed thats all you need to do.

    What you need to do is based on what you want to do with the new data.

    Kevin

This discussion has been closed.