NavigateCellEvent class
Navigates focus to an adjacent cell, with optional path extension.
- extend =
false(plain arrow): resets the path to[newCell]. - extend =
true(Shift+Arrow): appends the adjacent cell, or pops the last cell when moving back along the existing path (shrink selection).
Falls back to row-level navigation (up/down only) when no cell is active.
- Inheritance
-
- Object
- DataGridEvent
- NavigateCellEvent
Constructors
Properties
- direction → CellNavDirection
-
final
- extend → bool
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
apply<
T extends DataGridRow> (EventContext< T> context) → DataGridState<T> ? -
Apply this event's transformation to the state.
Returns the new state, or null if no state change should occur.
Can return a Future for async operations.
override
-
loadingMessage(
) → String? -
Custom loading message
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
shouldShowLoading(
DataGridState< DataGridRow> state) → bool -
Whether this event should show loading indicator for large datasets
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited