Sets/gets the active highlight class class of the cell.
Default value is "igx-highlight__active".
let activeHighlightClass = this.cell.activeHighlightClass;
this.cell.activeHighlightClass = 'igx-cell-highlight_active';
Sets/gets the template of the cell.
<ng-template #cellTemplate igxCell let-value>
<div style="font-style: oblique; color:blueviolet; background:red">
<span>{{value}}</span>
</div>
</ng-template>
@ViewChild('cellTemplate',{read: TemplateRef})
cellTemplate: TemplateRef<any>;
this.cell.cellTemplate = this.cellTemplate;
let template = this.cell.cellTemplate;
Gets the column of the cell.
let cellColumn = this.cell.column;
Returns whether the cell is in edit mode.
Gets the cell formatter.
let cellForamatter = this.cell.formatter;
Represents the grid instance containing the cell
Sets/gets the highlight class of the cell.
Default value is "igx-highlight".
let highlightClass = this.cell.highlightClass;
this.cell.highlightClass = 'igx-cell-highlight';
Gets whether this cell is a merged cell.
Sets/get the role property of the cell.
Default value is "gridcell".
this.cell.role = 'grid-cell';
let cellRole = this.cell.role;
Gets the data of the row of the cell.
let rowData = this.cell.rowData;
Sets/gets the cell value.
this.cell.value = "Cell Value";
let cellValue = this.cell.value;
Gets the width of the cell.
let cellWidth = this.cell.width;
Gets the cell template context object.
let context = this.cell.context();
Returns whether the cell is editable.
An optional title to display for the cell
The index of the column that the cell belongs to. It counts only the visible (not hidden) columns
A callback method that is invoked immediately after Angular has completed initialization of a component's view. It is invoked only once when the view is instantiated.
Starts/ends edit mode for the cell.
cell.setEditMode(true);
Providing reference to
IgxGridCellComponent: