TreeDataTableRowQueryEngine class
Applies table sort and filter policy to row-node lists.
Constructors
-
TreeDataTableRowQueryEngine({required List<
HeaderRow> headerRows, required int sourceColumnIndexForDisplay(int columnIndex)}) -
Creates a row query engine for the current header definition.
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
headerRows
→ List<
HeaderRow> -
Header rows used to determine sortable and filterable leaf columns.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sourceColumnIndexForDisplay → int Function(int columnIndex)
-
Maps a displayed leaf-column index to its original source index.
final
Methods
-
filteredSiblingRows(
List< TreeRowNode> rows, {required TreeDataTableFilterState filterState}) → List<TreeRowNode> - Returns rows that match the active column and quick filters.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
sortedSiblingRows(
List< TreeRowNode> rows, {required int? sortColumnIndex, required TreeDataTableSortDirection? sortDirection}) → List<TreeRowNode> -
Returns a stable sorted copy of
rowsfor the active sort state. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited