PivotGroup class

A single grouping (either row or column) in a pivot table.

Constructors

PivotGroup({DataSourceColumnReference? dataSourceColumnReference, PivotGroupLimit? groupLimit, PivotGroupRule? groupRule, String? label, bool? repeatHeadings, bool? showTotals, String? sortOrder, int? sourceColumnOffset, PivotGroupSortValueBucket? valueBucket, List<PivotGroupValueMetadata>? valueMetadata})
PivotGroup.fromJson(Map json_)

Properties

dataSourceColumnReference DataSourceColumnReference?
The reference to the data source column this grouping is based on.
getter/setter pair
groupLimit PivotGroupLimit?
The count limit on rows or columns to apply to this pivot group.
getter/setter pair
groupRule PivotGroupRule?
The group rule to apply to this row/column group.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
label String?
The labels to use for the row/column groups which can be customized.
getter/setter pair
repeatHeadings bool?
True if the headings in this pivot group should be repeated.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
showTotals bool?
True if the pivot table should include the totals for this grouping.
getter/setter pair
sortOrder String?
The order the values in this group should be sorted. Possible string values are:
getter/setter pair
sourceColumnOffset int?
The column offset of the source range that this grouping is based on.
getter/setter pair
valueBucket PivotGroupSortValueBucket?
The bucket of the opposite pivot group to sort by.
getter/setter pair
valueMetadata List<PivotGroupValueMetadata>?
Metadata about values in the grouping.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited