PlutoRowGroupDelegate class abstract
Abstract class that defines a base interface for grouping rows.
PlutoRowGroupTreeDelegate or PlutoRowGroupByColumnDelegate class implements this abstract class.
- Implementers
Constructors
- PlutoRowGroupDelegate({PlutoRowGroupOnToggled? onToggled})
Properties
- countFormat → NumberFormat
-
final
- enableCompactCount → bool
-
Decide whether to simply display the number of child rows when showCount is true.
no setter
- enabled → bool
-
Returns whether the grouping function is activated.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- onToggled → PlutoRowGroupOnToggled?
-
A callback that is called when a group row is expanded or collapsed.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- showCount → bool
-
Decide whether to display the number of child rows in the cell
where the expand icon is displayed in the grouped state.
no setter
- showFirstExpandableIcon → bool
-
Decide whether to force the expand button to be displayed in the first cell.
no setter
- type → PlutoRowGroupDelegateType
-
Determines the grouping type of the row.
no setter
Methods
-
compactNumber(
num count) → String - Brief summary of numbers.
-
filter(
{required FilteredList< PlutoRow> rows, required FilteredListFilter<PlutoRow> ? filter}) → void - Handle filtering of grouped rows.
-
isEditableCell(
PlutoCell cell) → bool - Determines whether the cell is editable.
-
isExpandableCell(
PlutoCell cell) → bool - Decide whether to show the extended button.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
sort(
{required PlutoColumn column, required FilteredList< PlutoRow> rows, required int compare(PlutoRow, PlutoRow)}) → void - Handle sorting of grouped rows.
-
toGroup(
{required Iterable< PlutoRow> rows}) → List<PlutoRow> - Handling for grouping rows.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited