PlutoRowGroupByColumnDelegate class

Inheritance

Constructors

PlutoRowGroupByColumnDelegate({required List<PlutoColumn> columns, bool showFirstExpandableIcon = false, bool showCount = true, bool enableCompactCount = true, PlutoRowGroupOnToggled? onToggled})

Properties

columns List<PlutoColumn>
Column to group by.
final
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
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
type PlutoRowGroupDelegateType
Determines the grouping type of the row.
no setteroverride
visibleColumns List<PlutoColumn>
Returns a non-hidden column from the column to be grouped.
no setter

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
isRowGroupColumn(PlutoColumn column) bool
Returns whether the column is a grouping column.
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