Reload only one column
Reload only one column
Hi
I use datatable to display data from mysql.
One of my column is just a rule of three : row A value = (row B value * 10 000) / Sum column B
So when I delete a row, all others values change because sum column B change.
I delete a row and I remove it from table , that part is ok. But how to update this column only (others columns don't change) without losing position ?
I use scroller and for now I use Ajax.reload() but if I scroll to row 200 and delete it, I go back to row 1
Is there a solution to this problem ?
Thank for your help.
This question has an accepted answers - jump to answer
Answers
I'm not sure if you have one or two issues.
The second example in the
ajax.reload()
documentation should help.Not sure I understand this comment. Do you mean column or row?
Kevin
Thanks !
At first I wanted to reload only one column without losing position.
But know with you answer, I can reload all the table and keep the same position.