Example below demonstrates that jQuery DataTables Checkboxes extension is compatible with jQuery DataTables FixedColumns extension.
Demo
Name | Position | Office | Extn. | Start date | Salary | |
---|---|---|---|---|---|---|
Name | Position | Office | Extn. | Start date | Salary |
$(document).ready(function (){
var table = $('#example').DataTable({
'ajax': '/lab/jquery-datatables-checkboxes/ids-arrays.txt',
'fixedColumns': {
'leftColumns': 1
},
'scrollX': true,
'fixedHeader': true,
'columnDefs': [
{
'targets': 0,
'checkboxes': {
'selectRow': true
}
}
],
'select': 'multi',
'order': [[1, 'asc']]
});
});
External resources used in this example: