Class Group

Information about a group of rows.

class

Group

extends

Slick.NonDataItem

constructor

Hierarchy

Index

Constructor methods

Properties

Methods

Constructor methods

constructor(): Group

Returns

Group

Properties

public collapsed: boolean

Whether a group is collapsed.

property

collapsed

type

{Boolean}

public count: number

Number of rows in the group.

property

count

type

{Integer}

public groupingKey: any

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

property

groupingKey

type

{Object}

public groups: Group[]

Sub-groups that are part of the group.

property

groups

type

{Array}

public level: number

Grouping level, starting with 0.

property

level

type

{Number}

public rows: Array<R>

Rows that are part of the group.

property

rows

type

{Array}

public title: string

Formatted display value of the group.

property

title

type

{String}

public totals: GroupTotals

GroupTotals, if any.

property

totals

type

{GroupTotals}

public value: T in Slick.Group<T, R>

Grouping value.

property

value

type

{Object}

Methods

public equals(group: Group): boolean

Compares two Group instances.

method

equals

Parameters

  • group: Group

    Group instance to compare to. todo: this is on the prototype (NonDataRow()) instance, not Group, maybe doesn't matter?

Returns

boolean