Documentation

@kanunilabs/datagrid-react


@kanunilabs/datagrid-react / GridEventMap

Interface: GridEventMap<TRow>

Type Parameters

TRow

TRow = GridRowData

Indexable

[event: string]: unknown

Properties

asyncTransactionsFlushed

asyncTransactionsFlushed: AsyncTransactionsFlushedEvent


bodyScroll

bodyScroll: BodyScrollEvent


bodyScrollEnd

bodyScrollEnd: BodyScrollEndEvent


busyChanged

busyChanged: BusyChangedEvent


cellClicked

cellClicked: CellInteractionEvent<TRow>


cellContextMenu

cellContextMenu: CellInteractionEvent<TRow>

Right-click on a cell. Observation only — the grid's own row menu already opened by the time this fires, and suppressing it is the rowMenu prop's job (returning an empty list for that row).


cellDoubleClicked

cellDoubleClicked: CellInteractionEvent<TRow>


cellEditingStarted

cellEditingStarted: CellEditingStartedEvent


cellEditingStopped

cellEditingStopped: CellEditingStoppedEvent


cellsFlashed

cellsFlashed: CellsFlashedEvent


cellsRefreshed

cellsRefreshed: CellsRefreshedEvent


cellValueChanged

cellValueChanged: CellValueChangedEvent<TRow>


columnGroupOpened

columnGroupOpened: ColumnGroupOpenedEvent


columnMoved

columnMoved: ColumnMovedEvent


columnPinned

columnPinned: ColumnPinnedEvent


columnResized

columnResized: ColumnResizedEvent


columnStateChanged

columnStateChanged: ColumnStateChangedEvent


columnVisible

columnVisible: ColumnVisibleEvent


contentReady

contentReady: ContentReadyEvent<TRow>


copyEnd

copyEnd: ClipboardEndedEvent


copyStart

copyStart: ClipboardStartedEvent


cutEnd

cutEnd: ClipboardEndedEvent


cutStart

cutStart: ClipboardStartedEvent


dataError

dataError: DataErrorEvent


dataUpdated

dataUpdated: DataUpdatedEvent


fillEnd

fillEnd: FillEndedEvent


fillStart

fillStart: FillStartedEvent


filterChanged

filterChanged: FilterChangedEvent


firstDataRendered

firstDataRendered: FirstDataRenderedEvent


focusChanged

focusChanged: FocusChangedEvent


focusedRowChanged

focusedRowChanged: FocusedRowChangedEvent<TRow>


gridPreDestroyed

gridPreDestroyed: GridPreDestroyedEvent


gridSizeChanged

gridSizeChanged: GridSizeChangedEvent


groupChanged

groupChanged: GroupChangedEvent


overlayChanged

overlayChanged: OverlayChangedEvent


paginationChanged

paginationChanged: PaginationChangedEvent


pasteEnd

pasteEnd: ClipboardEndedEvent


pasteStart

pasteStart: ClipboardStartedEvent


redoEnded

redoEnded: HistoryEndedEvent


redoStarted

redoStarted: HistoryStartedEvent


rowClicked

rowClicked: RowInteractionEvent<TRow>


rowDoubleClicked

rowDoubleClicked: RowInteractionEvent<TRow>


rowDragEnd

rowDragEnd: RowDragEndEvent<TRow>


rowDragEnter

rowDragEnter: RowDragEvent<TRow>


rowDragLeave

rowDragLeave: RowDragEvent<TRow>


rowDragMove

rowDragMove: RowDragEvent<TRow>


rowEditingStarted

rowEditingStarted: RowEditingStartedEvent<TRow>


rowEditingStopped

rowEditingStopped: RowEditingStoppedEvent<TRow>


rowsChanged

rowsChanged: RowsChangedEvent


scrollRequested

scrollRequested: ScrollRequestedEvent


selectionChanged

selectionChanged: SelectionChangedEvent


sortChanged

sortChanged: SortChangedEvent


stateUpdated

stateUpdated: StateUpdatedEvent


summariesChanged

summariesChanged: SummariesChangedEvent


undoEnded

undoEnded: HistoryEndedEvent


undoStarted

undoStarted: HistoryStartedEvent


viewportChanged

viewportChanged: ViewportChangedEvent