How get changes in DataTable in HTML-JS?

How get changes in DataTable in HTML-JS?

NanjiNanji Posts: 5Questions: 4Answers: 0

I am using Datatable for my table. I am facing few issue about updated data once DataTable is created.

I have 8 records. Pagination is of 5. Means there are 2 page. I have column of checkbox. When I convert table in table.DataTable(), I check data and it's fine using DataTable.rows().

But when I perform any change, like uncheck any checkbox, change value of textbox, it doesn't reflect. After change I check value of DataTable using console.log. It show same data when it is initialized.

Steps to reproduce
1- Create table and convert into DataTable
2- Console.log table data
3- uncheck few checkbox and add some text in textbox
4- Console.log. It will show same data of Step-2.

Can anybody suggest me how to reflect changes when user check/uncheck or change value of textbox?

This discussion has been closed.