{hero}

fixedColumns().left()

Since: FixedColumns 4.0.0

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

As of FixedColumns 5 this method is text direction aware and will fix columns at the left hand side of the table regardless of text direction.

Types

function fixedColumns().left()

Description:

Getter for the number of columns fixed to the left.

Returns:

The number of columns that are fixed to the left.

function fixedColumns().left(val)

Description:

Updates the DataTable to fix the new number of columns to the left.

Parameters:
Returns:

Datatables Api for chaining.