freeze
The freeze method is used within setLayoutHints to freeze columns in place at the front of the table. They will always be visible even when scrolling horizontally.
Syntax
Parameters
| Parameter | Type | Description |
|---|---|---|
| cols | String... | The columns to freeze in place at the front of the table. |
| cols | Collection<String> | Indicate the specified columns should be frozen (displayed as the first N, unmovable columns) upon display. |
Returns
A new table with layout instructions for the UI.
Examples
In the following example, the column Even is frozen to the front of the table.