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
Properties
Section titled "Properties"The grid that contains the row.
grid: GridType Defined in projects/igniteui-angular/grids/core/src/grid-public-row.ts:539
index
Section titled "index"Returns the row index.
index: number Defined in projects/igniteui-angular/grids/core/src/grid-public-row.ts:534
isGroupByRow
Section titled "isGroupByRow"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
Accessors
Section titled "Accessors"children
Section titled "children"Returns the child rows.
get children(): RowType[] Defined in projects/igniteui-angular/grids/core/src/grid-public-row.ts:556
Returns RowType[]
expanded
Section titled "expanded"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
groupRow
Section titled "groupRow"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
selected
Section titled "selected"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
viewIndex
Section titled "viewIndex"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
Methods
Section titled "Methods"isActive
Section titled "isActive"isActive(): boolean Defined in projects/igniteui-angular/grids/core/src/grid-public-row.ts:664
Returns boolean
toggle
Section titled "toggle"Toggles the group row expanded/collapsed state.
groupRow.toggle() toggle(): void Defined in projects/igniteui-angular/grids/core/src/grid-public-row.ts:674