Gets if this represents add row UI
let isAddRow = row.addRowUI;
The data passed to the row component.
let selectedRowData = this.grid.selectedRows[0].data;
Returns if the row is in delete state.
Optional Indicates whether the current row is disabled
Gets whether the row is expanded.
let esExpanded = row.expanded;
Expands/collapses the row.
row.expanded = true;
Returns true if child rows exist. Always return false for IgxGridRow.
Returns if the row is currently in edit mode.
Gets the row key. A row in the grid is identified either by:
let rowKey = row.key;
Gets whether the row is pinned.
let isPinned = row.pinned;
Sets whether the row is pinned.
Default value is false
.
row.pinned = !row.pinned;
Gets whether the row is selected.
Default value is false
.
row.selected = true;
Sets whether the row is selected.
Default value is false
.
row.selected = !row.selected;
The ITreeGridRecord
with metadata about the row in the context of the tree grid.
const rowParent = this.treeGrid.getRowByKey(1).treeRow.parent;
Gets the validation status and errors, if any.
let validation = row.validation;
let errors = validation.errors;
Returns the view index calculated per the grid page.
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