Add rows with checkboxes
Add rows with checkboxes

I'm loading a form with a DataTable without any rows.
User will click "Add", get a jQuery UI dialog form allowing them to add a record to the table. (all fine so far using fnAddData)
However I would like a (1) checkbox next to each row and when a function called, loop over all rows and (2) delete any row which have a checked checkbox.
I'll keep searching,but so far all I could find was how to delete a row (fnDeleteRow) but not how to add a checkbox with function call when adding rows.
Thanks in advance,
Krok
User will click "Add", get a jQuery UI dialog form allowing them to add a record to the table. (all fine so far using fnAddData)
However I would like a (1) checkbox next to each row and when a function called, loop over all rows and (2) delete any row which have a checked checkbox.
I'll keep searching,but so far all I could find was how to delete a row (fnDeleteRow) but not how to add a checkbox with function call when adding rows.
Thanks in advance,
Krok
This discussion has been closed.
Replies
Allan