Hi,
I am trying to add and remove rows from the grid on selection and deselection of checkbox control through js function. I have used following code to add row:
It adds the row but “$$(“cxdetailsgrid”).config.data” does not get updated. which causes problem in deletion. So I tried pushing that same data object to config.data
this.config.data is a reference to the initial dataset and it is not related to the actual state of datatable. So adding new row to the datable will not affect it ( at least it is not expected )
If you have problems with data deletion, please share a link or a snippet.