jQuery DataTables Checkboxes extension can be used to display multiple columns with checkboxes.
Example
Name | Position | Permissions | |||
---|---|---|---|---|---|
Read | Write | Execute | |||
Name | Position | Read | Write | Execute |
$(document).ready(function (){
var table = $('#example').DataTable({
'ajax': '/lab/jquery-datatables-checkboxes/ids-arrays.txt',
'columnDefs': [
{
'targets': 0,
'visible': false
},
{
'targets': [3,4,5],
'data': 0,
'checkboxes': true
}
],
'order': [[1, 'asc']]
});
});
External resources used in this example: