Skip to content

PinnedRowsConfig

Since v0.1.1

Configuration options for the status bar plugin *

PropertyTypeDescription
slots?PinnedRowSlot[]Unified ordered list of pinned-row slots. Slots are rendered in declared order within their position (‘top’ or ‘bottom’, default ‘bottom’).
fullWidth?booleanDefault fullWidth mode for all aggregation rows. When true, each aggregation row renders as a single spanning cell with label and aggregated values inline. When false (default), rows render per-column cells aligned to the grid template. Individual AggregationRowConfig.fullWidth (or AggregationSlot.fullWidth) overrides this.
import { rowCountPanel, selectedCountPanel } from '@toolbox-web/grid/plugins/pinned-rows';
new PinnedRowsPlugin({
slots: [
{ position: 'top', render: rowCountPanel() },
{ position: 'top', aggregators: { price: 'sum' }, label: 'Total' },
{ position: 'bottom', render: selectedCountPanel() },
],
});

Default: false


AI assistants: For complete API documentation, implementation guides, and code examples for this library, see https://toolboxjs.com/llms-full.txt