CellType
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
Properties
Section titled "Properties"active
Section titled "active"Indicates whether the cell is currently active (focused).
active: boolean Defined in projects/igniteui-angular/grids/core/src/common/grid.interface.ts:47
Optional cellID
Section titled "cellID"Optional; The cellID is the unique key, used to identify the cell
cellID?: any Defined in projects/igniteui-angular/grids/core/src/common/grid.interface.ts:65
column
Section titled "column"Represents the column that the cell belongs to.
column: ColumnType Defined in projects/igniteui-angular/grids/core/src/common/grid.interface.ts:56
editable
Section titled "editable"Indicates whether the cell can be edited.
editable: boolean Defined in projects/igniteui-angular/grids/core/src/common/grid.interface.ts:49
editMode
Section titled "editMode"Indicates whether the cell is currently in edit mode.
editMode: boolean Defined in projects/igniteui-angular/grids/core/src/common/grid.interface.ts:51
editValue
Section titled "editValue"The value to display when the cell is in edit mode.
editValue: any Defined in projects/igniteui-angular/grids/core/src/common/grid.interface.ts:43
Represents the grid instance containing the cell
grid: GridType Defined in projects/igniteui-angular/grids/core/src/common/grid.interface.ts:61
Optional id
Section titled "id"Optional; An object identifying the cell. It contains rowID, columnID, and rowIndex of the cell.
id?: object Defined in projects/igniteui-angular/grids/core/src/common/grid.interface.ts:63
Optional nativeElement
Section titled "nativeElement"Represents the native HTML element of the cell itself
nativeElement?: HTMLElement Defined in projects/igniteui-angular/grids/core/src/common/grid.interface.ts:54
Optional readonly
Section titled "readonly"readonly?: boolean Defined in projects/igniteui-angular/grids/core/src/common/grid.interface.ts:71
Represents the row that the cell belongs to
row: RowType Defined in projects/igniteui-angular/grids/core/src/common/grid.interface.ts:59
selected
Section titled "selected"Indicates whether the cell is currently selected. It is false, if the sell is not selected, and true, if it is.
selected: boolean Defined in projects/igniteui-angular/grids/core/src/common/grid.interface.ts:45
Optional title
Section titled "title"An optional title to display for the cell
title?: any Defined in projects/igniteui-angular/grids/core/src/common/grid.interface.ts:73
update
Section titled "update"A method definition to update the value of the cell.
update: object Defined in projects/igniteui-angular/grids/core/src/common/grid.interface.ts:79
Optional validation
Section titled "validation"Optional; An object representing the validation state of the cell. Whether it's valid or invalid, and if it has errors
validation?: IGridValidationState Defined in projects/igniteui-angular/grids/core/src/common/grid.interface.ts:70
value
Section titled "value"The current value of the cell.
value: any Defined in projects/igniteui-angular/grids/core/src/common/grid.interface.ts:41
Optional visibleColumnIndex
Section titled "visibleColumnIndex"The index of the column that the cell belongs to. It counts only the visible (not hidden) columns
visibleColumnIndex?: number Defined in projects/igniteui-angular/grids/core/src/common/grid.interface.ts:77
width
Section titled "width"The CSS width of the cell as a string.
width: string Defined in projects/igniteui-angular/grids/core/src/common/grid.interface.ts:75
Methods
Section titled "Methods"Optional activate
Section titled "activate"activate?: any Defined in projects/igniteui-angular/grids/core/src/common/grid.interface.ts:94
Optional calculateSizeToFit
Section titled "calculateSizeToFit"calculateSizeToFit?: any Defined in projects/igniteui-angular/grids/core/src/common/grid.interface.ts:87
Optional onClick
Section titled "onClick"onClick?: any Defined in projects/igniteui-angular/grids/core/src/common/grid.interface.ts:108
Optional onDoubleClick
Section titled "onDoubleClick"onDoubleClick?: any Defined in projects/igniteui-angular/grids/core/src/common/grid.interface.ts:101
Optional setEditMode
Section titled "setEditMode"setEditMode?: any Defined in projects/igniteui-angular/grids/core/src/common/grid.interface.ts:81