Interface representing a row in the grid. It is essentially the blueprint to a row object. Contains definitions of properties and methods, relevant to a row

Returns always true, because this is in instance of an group by row.

isGroupByRow: boolean

Defined in projects/igniteui-angular/grids/core/src/grid-public-row.ts:544

Returns the child rows.

get children(): RowType[]

Defined in projects/igniteui-angular/grids/core/src/grid-public-row.ts:556

Returns RowType[]

Gets/sets whether the group row is expanded.

const groupRowExpanded = groupRow.expanded;
get expanded(): boolean

Defined in projects/igniteui-angular/grids/core/src/grid-public-row.ts:656

Returns boolean

Optional Indicates whether the current row is expanded. The value is true, if the row is expanded and false, if it is collapsed

set expanded(value: boolean): void

Defined in projects/igniteui-angular/grids/core/src/grid-public-row.ts:660

Parameters

  • value: boolean

Returns void

The IGroupByRecord object, representing the group record, if the row is a GroupByRow.

get groupRow(): IGroupByRecord

Defined in projects/igniteui-angular/grids/core/src/grid-public-row.ts:549

Returns IGroupByRecord

Gets whether the row is selected. Default value is false.

row.selected = true;
get selected(): boolean

Defined in projects/igniteui-angular/grids/core/src/grid-public-row.ts:626

Returns boolean

Sets whether the row is selected. Default value is false.

row.selected = !row.selected;
set selected(val: boolean): void

Defined in projects/igniteui-angular/grids/core/src/grid-public-row.ts:637

Parameters

  • val: boolean

Returns void

Returns the view index calculated per the grid page.

get viewIndex(): number

Defined in projects/igniteui-angular/grids/core/src/grid-public-row.ts:568

Returns number

isActive(): boolean

Defined in projects/igniteui-angular/grids/core/src/grid-public-row.ts:664

Returns boolean

Toggles the group row expanded/collapsed state.

groupRow.toggle()
toggle(): void

Defined in projects/igniteui-angular/grids/core/src/grid-public-row.ts:674

Returns void