Interface representing a cell in the grid. It is essentially the blueprint to a cell object. Contains definitions of properties and methods, relevant to a cell
Returns the grid containing the cell.
IgxGridCell
Indicates whether the cell is currently active (focused).
Returns the column of the cell.
let column = this.cell.column; Copy
let column = this.cell.column;
Returns whether the cell is editable..
Returns if the row is currently in edit mode.
Starts/ends edit mode for the cell.
cell.editMode = !cell.editMode; Copy
cell.editMode = !cell.editMode;
Gets the current edit value while a cell is in edit mode.
let editValue = this.cell.editValue; Copy
let editValue = this.cell.editValue;
Sets the current edit value while a cell is in edit mode. Only for cell editing mode.
this.cell.editValue = value; Copy
this.cell.editValue = value;
Gets the cell id. A cell in the grid is identified by:
let cellID = cell.id; Copy
let cellID = cell.id;
Returns the row containing the cell.
let row = this.cell.row; Copy
let row = this.cell.row;
Gets whether the cell is selected.
let isSelected = this.cell.selected; Copy
let isSelected = this.cell.selected;
Selects/deselects the cell.
this.cell.selected = true. Copy
this.cell.selected = true.
Gets the validation status and errors, if any.
let validation = this.cell.validation;let errors = validation.errors; Copy
let validation = this.cell.validation;let errors = validation.errors;
Returns the cell value.
Updates the cell value.
Gets the width of the cell.
let cellWidth = this.cell.width; Copy
let cellWidth = this.cell.width;
cell.update(newValue); Copy
cell.update(newValue);
Interface representing a cell in the grid. It is essentially the blueprint to a cell object. Contains definitions of properties and methods, relevant to a cell