Deprecated Functionality
Clipboard
Copy Selector
The clipboardCopySelector option has been depricated an has been replaced with a property in the new clipboardCopyRowRange option.
where you used to use the clipboardCopySelector option to set which rows would be visible in the clipboard output.
var table = new Tabulator("#example-table", {
clipboardCopySelector:"table", //change default selector to active
});
You should now use the clipboardCopyRowRange option which takes any valid Row Range Lookup value:
var table = new Tabulator("#example-table", {
clipboardCopyRowRange:"all", //copy all rows to the clipboard even if they are filtered out
});
Printing
Styled Printing Option
The printCopyStyle option has been renamed to printStyled to improve naming consistency accross export options
Where you used to use the printCopyStyle option:
var table = new Tabulator("#example-table", {
printCopyStyle:true, //copy Tabulator styling to HTML table
});
You should now use the printStyled option:
var table = new Tabulator("#example-table", {
printStyled:true, //copy Tabulator styling to HTML table
});
Print Visible Rows
The printVisibleRows option has been replaced with the printRowRange which allows for a great range of rows to be shown
Where you used to use the printVisibleRows option:
var table = new Tabulator("#example-table", {
printVisibleRows:false, //print all rows in the table
});
You should now use the printRowRange option:
var table = new Tabulator("#example-table", {
printRowRange:"all", //print all rows in the table
});
Cell Alignment
The align column definition property has been renamed to hozAlign to improve clarity with the new vertical alignment options
Where you used to set the horizontal alignment of a cell by using the align column definition property:
{title:"Name", field:"name", align:"center"} //center align cell
You should now use the param hozAlign property:
{title:"Name", field:"name", hozAlign:"center"} //center align cell