Old Documentation
You are browsing documentation for an old version of Tabulator. Consider upgrading your project to Tabulator 6.3
Deprecated Functionality
Row Selection
With the addition of the range selection module, all row selection options have now been renamed for clarity.
Enable Row Selection
Anywhere you used the selectable option:
var table = new Tabulator("#example-table", { selectable:true, //make rows selectable });
You should now use the selectableRows option:
var table = new Tabulator("#example-table", { selectableRows:true, //make rows selectable });
Rolling Row Selection
Anywhere you used the selectableRollingSelection option:
var table = new Tabulator("#example-table", { selectableRollingSelection:false, //disable rolling selection });
You should now use the selectableRowsRollingSelection option:
var table = new Tabulator("#example-table", { selectableRowsRollingSelection:false, //disable rolling selection });
Range Mode
Anywhere you used the selectableRangeMode option:
var table = new Tabulator("#example-table", { selectableRangeMode:"click", //select row range on click });
You should now use the selectableRowsRangeMode option:
var table = new Tabulator("#example-table", { selectableRowsRangeMode:"click", //select row range on click });
Persistent Selection
Anywhere you used the selectablePersistence option:
var table = new Tabulator("#example-table", { selectablePersistence:false, //disable selection peristence });
You should now use the selectableRowsPersistence option:
var table = new Tabulator("#example-table", { selectableRowsPersistence:false, //disable selection peristence });
Persistent Selection
Anywhere you used the selectableCheck option:
var table = new Tabulator("#example-table", { selectableCheck:function(row){ //row - row component return row.getData().age > 18; //allow selection of rows where the age is greater than 18 }, });
You should now use the selectableRowsCheck option:
var table = new Tabulator("#example-table", { selectableRowsCheck:function(row){ //row - row component return row.getData().age > 18; //allow selection of rows where the age is greater than 18 } });