I am trying to change data of a selected row. In my case when a row is clicked it returns the index of that row and then i am trying to update that row with the index of the row i clicked. I can get the index properly, but when i try to update the row it gives an error "Requested unknown parameter 'id' for row 0,column 0".
In this case the index that i am trying to update is 0. Here is my code
var newdata=['data','data2','data2','data4'];
table.row(0).data(newdata).draw()