Skip to content

SeizenTableEventMap

Defined in: useEventBus.ts:47

Map of built-in event names to their payload types.

SeizenTable automatically emits these events:

  • State change events: data, selection, filter, sorting, pagination
  • Action events: row-click

Plugins can extend EventBusRegistry to add custom events.

TData = unknown

The type of row data. Defaults to unknown.

cell-context-menu: object

Defined in: useEventBus.ts:85

Emitted when cell context menu is opened. Payload includes the cell, column, row, and value.

cell: Cell<TData, unknown>

column: Column<TData, unknown>

row: Row<TData>

value: unknown


column-context-menu: object

Defined in: useEventBus.ts:96

Emitted when column header context menu is opened. Payload includes the column.

column: Column<TData, unknown>


data-change: TData[]

Defined in: useEventBus.ts:52

Emitted when table data changes. Payload is the entire data array.


filter-change: ColumnFiltersState

Defined in: useEventBus.ts:63

Emitted when column filters change.


pagination-change: PaginationState

Defined in: useEventBus.ts:73

Emitted when pagination changes.


row-click: TData

Defined in: useEventBus.ts:79

Emitted when a table row is clicked. Payload is the clicked row data.


selection-change: TData[]

Defined in: useEventBus.ts:58

Emitted when row selection changes. Payload is the array of selected rows.


sorting-change: SortingState

Defined in: useEventBus.ts:68

Emitted when sorting changes.