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

Indicates whether the cell is currently active (focused).

active: boolean

Defined in projects/igniteui-angular/grids/core/src/common/grid.interface.ts:47

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

Represents the column that the cell belongs to.

column: ColumnType

Defined in projects/igniteui-angular/grids/core/src/common/grid.interface.ts:56

Indicates whether the cell can be edited.

editable: boolean

Defined in projects/igniteui-angular/grids/core/src/common/grid.interface.ts:49

Indicates whether the cell is currently in edit mode.

editMode: boolean

Defined in projects/igniteui-angular/grids/core/src/common/grid.interface.ts:51

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; 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

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

An optional title to display for the cell

title?: any

Defined in projects/igniteui-angular/grids/core/src/common/grid.interface.ts:73

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

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

The CSS width of the cell as a string.

width: string

Defined in projects/igniteui-angular/grids/core/src/common/grid.interface.ts:75

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

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