Dynamically add new rows - Server Side processing

Dynamically add new rows - Server Side processing

sunny1411sunny1411 Posts: 1Questions: 1Answers: 0

Hello,
I want to add new rows in already existing data table from same ajax source.
Also, I would like to add some rows on sorting any column. As of now, all the data gets replaced as soon as I try to sort. How can I achieve that without using success property of ajax?

Answers

  • allanallan Posts: 61,732Questions: 1Answers: 10,110 Site admin

    If you are using server-side processing, you need to add the rows at the server-side (i.e. INSERT them into the database table) and then use draw() to redraw the table on the client-side.

    Allan

This discussion has been closed.