Change all data within a column.
Change all data within a column.
ChickenMobile
Posts: 7Questions: 3Answers: 0
I'm trying to change all data inside a specific column to the same value when a checkbox is checked.
dt.column("column:name").data($(this).is(":checked"))
[1]
This code however just grabs the current data of each cell and doesn't set it them to 'true'.
How can set all values in a column?
This discussion has been closed.
Answers
Ok, so I figured out a way to change all items in a table in a reasonable time (takes around half a second to replace 600 rows).
Code: