Represent the grid instance, the row belongs to
The index of the row within the grid
Gets if this represents add row UI
let isAddRow = row.addRowUI;
The data record that populates the row.
let rowData = row.data;
Returns if the row is in delete state.
Optional Indicates whether the current row is disabled
Gets the row expanded/collapsed state.
const isExpanded = row.expanded;
Expands/collapses the row.
row.expanded = true;
Returns true if row islands exist.
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.
Default value is false
.
const 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;
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