@serenity-is/sleekgrid / Group
Information about a group of rows.
• TEntity = any
new Group<
TEntity
>():Group
<TEntity
>
Group
<TEntity
>
readonly
__group:true
=true
__nonDataRow:
boolean
=true
collapsed:
boolean
=false
Whether a group is collapsed.
count:
number
=0
Number of rows in the group.
groupingKey:
string
A unique key used to identify the group. This key can be used in calls to DataView collapseGroup() or expandGroup().
groups:
Group
<TEntity
>[]
Sub-groups that are part of the group.
level:
number
=0
Grouping level, starting with 0.
rows:
TEntity
[] =[]
Rows that are part of the group.
title:
string
Formatted display value of the group.
totals:
GroupTotals
<TEntity
>
GroupTotals, if any.
value:
any
Grouping value.
equals(
group
):boolean
Compares two Group instances.
Group
<any
>
{Group} Group instance to compare to.
boolean