Skip to content

StickyRowsConfig

Since v2.7.0

Configuration for StickyRowsPlugin.

import '@toolbox-web/grid/features/sticky-rows';
grid.gridConfig = { features: { stickyRows: { isSticky: 'isSection' } } };
PropertyTypeDescription
isStickystring | StickyPredicateEither a field name on the row (truthy value marks the row as sticky) or a predicate that returns a truthy/falsy value per row.
mode?StickyRowsModeBehavior when multiple sticky rows would be stuck simultaneously.
maxStacked?numberMaximum number of rows stacked below the header in 'stack' mode. Ignored in 'push' mode (which is always 1).
className?stringOptional class added to the stuck-row clones for custom styling.

Either a field name on the row (truthy value marks the row as sticky) or a predicate that returns a truthy/falsy value per row.

Required — without it the plugin renders nothing.


Default: 'push'


Default: Infinity