checkbox columns in data table
checkbox columns in data table
Dear Team,
we are using the following example, there we have only one check box column.
https://editor.datatables.net/examples/api/checkbox.html
But we want check box for the multiple columns.
In this below method how to identify the multiple columns(like Active,Status,Expat) and assign the checked flag.
rowCallback: function ( row, data ) {
// Set the checked state of the checkbox in the table
$('input.editor-active', row).prop( 'checked', data.active == 1 );
}
Please furnish solution ASAP