Information about a group of rows. Group

Constructors

Properties

__group: boolean
collapsed: boolean

Whether a group is collapsed.

count: Integer

Number of rows in the group.

groupingKey: Object

A unique key used to identify the group. This key can be used in calls to DataView collapseGroup() or expandGroup().

groups: any[]

Sub-groups that are part of the group.

level: number

Grouping level, starting with 0.

rows: any[]

Rows that are part of the group.

selectChecked: boolean

Whether a group selection checkbox is checked.

title: string

Formatted display value of the group.

totals: GroupTotals

GroupTotals, if any.

value: Object

Grouping value.

prototype: NonDataItem

Methods

  • Compares two Group instances.

    Parameters

    • group: Group

      {Group} Group instance to compare to.

    Returns boolean