{/* Do not edit this file. It is automatically generated by API Documenter. */}


## GroupItem

Information model of group item

\[Superclass\]

[GridItem](/refs/Interface/GridItem)

Used only when passed as a parameter of callback.

**Signature:**

```typescript
export interface GroupItem extends GridItem
```
**Extends:** [GridItem](/refs/Interface/GridItem)

## Properties

| Property | Type | Description |
| --- | --- | --- |
| [descendantCount](/refs/Interface/GroupItem#descendantcount) | number | number of descendant dataRow |
| [footerCount](/refs/Interface/GroupItem#footercount) | number | Number of footers |
| [lastDataItem](/refs/Interface/GroupItem#lastdataitem) | [GridItem](/refs/Interface/GridItem) | Last data item |

## Methods

| Method | Type | Description |
| --- | --- | --- |
| [getAvg(field)](/refs/Interface/GroupItem#getavg) | getAvg(field: number \| string): number; | |
| [getDataAvg(field)](/refs/Interface/GroupItem#getdataavg) | getDataAvg(field: number \| string): number; | If the dataType of the input field is `number`{/* */}, average of the remaining rows excluding rows without values |
| [getDataCount(field)](/refs/Interface/GroupItem#getdatacount) | getDataCount(field: number \| string): number; | Numbers excluding rows with no values |
| [getMax(field)](/refs/Interface/GroupItem#getmax) | getMax(field: number \| string): any; | |
| [getMin(field)](/refs/Interface/GroupItem#getmin) | getMin(field: number \| string): any; | |
| [getNumber(field)](/refs/Interface/GroupItem#getnumber) | getNumber(field: number \| string): number; | Number of data belonging to a group |
| [getRows()](/refs/Interface/GroupItem#getrows) | getRows(): number\[\]; | dataRow array of data items belonging to the group |
| [getStdev(field)](/refs/Interface/GroupItem#getstdev) | getStdev(field: number \| string): number; | |
| [getStdevp(field)](/refs/Interface/GroupItem#getstdevp) | getStdevp(field: number \| string): number; | |
| [getSum(field)](/refs/Interface/GroupItem#getsum) | getSum(field: number \| string): number; | If the field's dataType is number, the sum of the values |
| [getVar(field)](/refs/Interface/GroupItem#getvar) | getVar(field: number \| string): number; | |

## Properties Desc

### descendantCount

Number of descendant dataRow

`Type` - number

<hr/>

### footerCount

Number of footers

`Type` - number

<hr/>

### lastDataItem

last data item

`Type` - [GridItem](/refs/Interface/GridItem)

<hr/>

## Method Desc

### getAvg

**\[Parameter List\]**

`field` - number \| string

Field name or field index

**\[return value\] -** number

<hr/>

### getDataAvg

If the dataType of the input field is `number`{/* */}, the average of the remaining rows excluding rows without values

**\[Parameter List\]**

`field` - number \| string

Field name or field index

**\[return value\] -** number

<hr/>

### getDataCount

Numbers excluding rows with no values

**\[Parameter List\]**

`field` - number \| string

Field name or field index

**\[return value\] -** number

<hr/>

### getMax

**\[Parameter List\]**

`field` - number \| string

Field name or field index

**\[return value\] -** any

<hr/>

### getMin

**\[Parameter List\]**

`field` - number \| string

Field name or field index

**\[return value\] -** any

<hr/>

### getNumber

Number of data belonging to the group

**\[Parameter List\]**

`field` - number \| string

Field name or field index

**\[return value\] -** number

<hr/>

### getRows

dataRow array of data items belonging to the group

<hr/>

### getStdev

**\[Parameter List\]**

`field` - number \| string

Field name or field index

**\[return value\] -** number

<hr/>

### getStdevp

**\[Parameter List\]**

`field` - number \| string

Field name or field index

**\[return value\] -** number

<hr/>

### getSum

Sum of values if the dataType of the field is number

**\[Parameter List\]**

`field` - number \| string

Field name or field index

**\[return value\] -** number

<hr/>

### getVar

**\[Parameter List\]**

`field` - number \| string

Field name or field index

**\[return value\] -** number

<hr/>