{hero}

fixedColumns().end()

Since: FixedColumns 5.0.0

Get / set the number of columns fixed at the end of a table.
Please note - this property requires the FixedColumns extension for DataTables.

Description

This method is either a getter or a setter for the number of columns that are fixed to the end of the table. If no argument is supplied then the method acts as a getter. If an argument is provided then that value is set as the new number of columns to be fixed to the end and the table is updated.

This method is text direction aware. It will freeze columns at the end of the table regardless of text direction (i.e. on the right for left-to-right text and on the left for right-to-left text).

Types

function fixedColumns().end()

Description:

Getter for the number of columns fixed to the end of a table.

Returns:

The number of columns that are fixed to the end of a table.

function fixedColumns().end(val)

Description:

Updates the DataTable to fix the new number of columns to the end of the table.

Parameters:
Returns:

DataTables Api for chaining.