PlutoRowGroupTreeDelegate class
- Inheritance
-
- Object
- PlutoRowGroupDelegate
- PlutoRowGroupTreeDelegate
Constructors
- PlutoRowGroupTreeDelegate({required int? resolveColumnDepth(PlutoColumn column), required bool showText(PlutoCell cell), bool showFirstExpandableIcon = false, bool showCount = true, bool enableCompactCount = true, PlutoRowGroupOnToggled? onToggled})
Properties
- countFormat → NumberFormat
-
finalinherited
- enableCompactCount → bool
-
Decide whether to simply display the number of child rows when showCount is true.
final
- enabled → bool
-
Returns whether the grouping function is activated.
no setteroverride
- 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.
finalinherited
- resolveColumnDepth → int? Function(PlutoColumn column)
-
Determine the depth based on the cell column.
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.
final
- showFirstExpandableIcon → bool
-
Decide whether to force the expand button to be displayed in the first cell.
final
- showText → bool Function(PlutoCell cell)
-
Decide whether to display the text in the cell.
final
- type → PlutoRowGroupDelegateType
-
Determines the grouping type of the row.
no setteroverride
Methods
-
compactNumber(
num count) → String -
Brief summary of numbers.
inherited
-
filter(
{required FilteredList< PlutoRow> rows, required FilteredListFilter<PlutoRow> ? filter}) → void -
Handle filtering of grouped rows.
override
-
isEditableCell(
PlutoCell cell) → bool -
Determines whether the cell is editable.
override
-
isExpandableCell(
PlutoCell cell) → bool -
Decide whether to show the extended button.
override
-
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.
override
-
toGroup(
{required Iterable< PlutoRow> rows}) → List<PlutoRow> -
Handling for grouping rows.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited