How to apply stateSave for dynamically added rows.

How to apply stateSave for dynamically added rows.

aravinthaaravintha Posts: 2Questions: 1Answers: 0
edited June 2016 in Free community support

I am inserting table values dynamically.First initialized the table like.
$("#mytable").DataTable({stateSave:true});

In my ajax call dynamically inserted the values like below
table.row.add([name, editOption, deleteOption]).draw();

inserted successfully but the problem is when refresh not able view the previous viewed pagination

This discussion has been closed.