Represents a cell within a grid row. It is the primary focusable element
within the grid. It can be disabled and can have its selection state managed
through the selected input.
element
HTMLElementA reference to the host element.
textDirection
WritableSignal<Direction>Text direction.
id
InputSignal<any>A unique identifier for the cell.
role
InputSignal<"gridcell" | "columnheader" | "rowheader">The ARIA role for the cell.
rowSpan
InputSignal<number>The number of rows the cell should span.
colSpan
InputSignal<number>The number of columns the cell should span.
rowIndex
InputSignal<number | undefined>The index of this cell's row within the grid.
colIndex
InputSignal<number | undefined>The index of this cell's column within the grid.
disabled
InputSignalWithTransform<boolean, unknown>Whether the cell is disabled.
selected
ModelSignal<boolean>Whether the cell is selected.
selectable
InputSignal<boolean>Whether the cell is selectable.
orientation
InputSignal<"vertical" | "horizontal">Orientation of the widgets in the cell.
wrap
InputSignalWithTransform<boolean, unknown>Whether widgets navigation wraps.
tabindex
InputSignal<number | undefined>The tabindex override.
Description
Represents a cell within a grid row. It is the primary focusable element
within the grid. It can be disabled and can have its selection state managed
through the selected input.
<td ngGridCell [disabled]="isDisabled" [(selected)]="isSelected">
Cell Content
</td>