models/events/grid_events
library
Classes
-
ClearCellSelectionEvent
-
Clears the focused-cells path entirely.
-
ClearFilterEvent
-
Clears the filter on a specific column, or all filters if columnId is null.
-
ClearSelectionEvent
-
Clears all row and cell selections.
-
ColumnReorderEvent
-
Moves a column from oldIndex to newIndex.
-
ColumnResizeEvent
-
Resizes a column to the specified width.
-
CopyCellsEvent
-
Copies the values of all focused cells to the system clipboard as TSV.
Cells are sorted by display-order row, then by column index.
Returns
null — no state change, side-effect only.
-
DataGridEvent
-
Base class for all data grid events.
-
DeleteRowEvent
-
Deletes a single row by its ID.
-
DeleteRowsEvent
-
Deletes multiple rows by their IDs.
-
Enables or disables pagination.
-
FilterEvent
-
Applies a filter on a column with the given operator and value.
-
FirstPageEvent
-
Navigates to the first page.
-
FocusCellEvent
-
Focuses a single cell, replacing the entire focused-cells path.
Dispatched on a plain click (no modifiers).
-
GroupByColumnEvent
-
Groups rows by the specified column.
-
InsertRowEvent
-
Inserts a single row, optionally at a specific position.
-
InsertRowsEvent
-
Inserts multiple rows at the end of the grid.
-
LastPageEvent
-
Navigates to the last page.
-
LoadDataEvent<T>
-
Loads a new set of rows into the grid, optionally appending to existing data.
-
NavigateCellEvent
-
Navigates focus to an adjacent cell, with optional path extension.
-
NavigateDownEvent
-
Moves focus down by one cell (or row when no cell is active).
-
NavigateLeftEvent
-
Moves focus left by one cell (no-op when no cell is active).
-
NavigateRightEvent
-
Moves focus right by one cell (no-op when no cell is active).
-
NavigateUpEvent
-
Moves focus up by one cell (or row when no cell is active).
-
NextPageEvent
-
Navigates to the next page.
-
PreviousPageEvent
-
Navigates to the previous page.
-
RefreshDataEvent
-
Triggers a data refresh by setting the loading flag.
-
SelectAllRowsEvent
-
Selects all rows, or a specific set of row IDs if provided.
-
SelectAllVisibleEvent
-
Selects all currently visible rows.
-
SelectRowEvent
-
Selects or toggles a single row.
-
SelectRowsRangeEvent
-
Selects a contiguous range of rows between two row IDs.
-
SetFocusedCellsEvent
-
Replaces the focused-cells path with the given list.
No SelectionMode guard — works regardless of mode.
-
SetLoadingEvent
-
Explicitly sets the loading state and optional message.
-
SetPageEvent
-
Navigates to a specific page number.
-
SetPageSizeEvent
-
Changes the number of rows displayed per page.
-
SetSelectionModeEvent
-
Changes the selection mode (none or multiple).
-
Enables or disables server-side pagination mode.
-
SetTotalItemsEvent
-
Sets the total item count (used for server-side pagination).
-
ShiftSelectCellEvent
-
Appends a cell to the focused-cells path (Shift+click).
If the cell is already the last in the path, this is a no-op.
Preserves all previously focused cells.
-
SortCompleteEvent<T extends DataGridRow>
-
Internal event dispatched when an async sort operation completes.
-
SortEvent
-
Applies or changes the sort on a column.
-
ToggleCellInSelectionEvent
-
Toggles a cell in/out of the focused-cells path (Ctrl+click).
Adds the cell if absent, removes it if present.
-
ToggleGroupExpansionEvent
-
Toggles the expanded/collapsed state of a row group.
-
UngroupColumnEvent
-
Removes grouping for the specified column.
-
UpdateCellEvent
-
Updates a single cell value on an existing row.
-
UpdateRowEvent
-
Replaces an entire row with a new instance.