models/events/grid_events library
Classes
- 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.
- DataGridEvent
- Base class for all data grid events.
- DeleteRowEvent
- Deletes a single row by its ID.
- DeleteRowsEvent
- Deletes multiple rows by their IDs.
- EnablePaginationEvent
- Enables or disables pagination.
- FilterEvent
- Applies a filter on a column with the given operator and value.
- FirstPageEvent
- Navigates to the first page.
- 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.
- Moves the focused row down by one position.
- Moves the focused column left by one position.
- Moves the focused column right by one position.
- Moves the focused row up by one position.
- 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.
- 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, single, or multiple).
- SetServerSidePaginationEvent
- Enables or disables server-side pagination mode.
- SetTotalItemsEvent
- Sets the total item count (used for server-side pagination).
-
SortCompleteEvent<
T extends DataGridRow> - Internal event dispatched when an async sort operation completes.
- SortEvent
- Applies or changes the sort on a column.
- 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.