{hero}

fixedColumns().start()

Since: FixedColumns 5.0.0

Get / set the number of columns fixed at the start 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 start 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 start and the table is updated.

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

Types

function fixedColumns().start()

Description:

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

Returns:

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

function fixedColumns().start( val )

Description:

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

Parameters:
Returns:

DataTables Api for chaining.