UseSeizenTableOptions
Defined in: packages/core/src/table/useSeizenTable.ts:50
Options for useSeizenTable hook
Type Parameters
Section titled “Type Parameters”TData
Properties
Section titled “Properties”columns
Section titled “columns”columns:
SeizenTableColumn<TData>[]
Defined in: packages/core/src/table/useSeizenTable.ts:52
data:
TData[]
Defined in: packages/core/src/table/useSeizenTable.ts:51
enableMultiSelect?
Section titled “enableMultiSelect?”
optionalenableMultiSelect:boolean
Defined in: packages/core/src/table/useSeizenTable.ts:56
initialSelection?
Section titled “initialSelection?”
optionalinitialSelection:RowSelectionState
Defined in: packages/core/src/table/useSeizenTable.ts:55
plugins?
Section titled “plugins?”
optionalplugins:SeizenTablePlugin<any>[]
Defined in: packages/core/src/table/useSeizenTable.ts:54
Plugins to use. Plugins that don’t use context menu can be SeizenTablePlugin
remote?
Section titled “remote?”
optionalremote:boolean|RemoteOptions
Defined in: packages/core/src/table/useSeizenTable.ts:78
Enable Remote Mode.
When enabled:
- Internal filtering/sorting/pagination is disabled (TanStack Table manual* options)
datais expected to be pre-filtered/sorted/paginated by external sourcesetFilter(),setSorting(),setPageIndex()etc. emit events AND update internal state- Internal state is maintained for plugin UI synchronization
- TanStack Table does NOT apply filtering/sorting/pagination to data
Use with EventBus to integrate with external data sources:
filter-change: Emitted when filter state changessorting-change: Emitted when sorting changespagination-change: Emitted when pagination changes
Usage:
remote: true- Enable without pagination supportremote: { totalRowCount: 100 }- Enable with pagination (totalRowCount required)
Default
Section titled “Default”false