public interface FrozenFields
Fields can be programmatically frozen via setting
field.frozen to true when the
grid is created, or dynamically frozen and unfrozen via
unfreezeField(). The setting
canFreezeFields enables a user
interface to allow end users to dynamically freeze and unfreeze fields.
The frozen fields feature is not compatible with the following features:
AutoFitData:"horizontal", as well as headers that autoFit to titles (normally enabled via
CubeGridsubclass of ListGrid
TreeGridsubclass of ListGrid, and all dynamic styling-related and formatting-related features.
ListGrid.frozenFieldsMaxWidth property may be used to specify a maximum size for the frozen
fields. If their combined width exceeds this, a horizontal scrollbar will be displayed,
allowing the user to scroll the frozen fields independently of the other fields in the grid.
Troubleshooting tip: If you encounter misalignment between rows in frozen and unfrozen columns, this is likely due to one of the following causes:
fixedRecordHeights:true, the cell contents, inclusive of border and padding, needs to be less than your configured
ListGrid.cellHeight, or you need to set
ListGrid.enforceVClippingto cause us to clip it as necessary. Breaking this rule can cause misalignment between rows in frozen and unfrozen columns as some fields have cells with taller content. (This does not apply for grids with
fixedRecordHeightsset to false).