@microsoft/fast-foundation > DataGridCell

DataGridCell class

A Data Grid Cell Custom HTML Element.

cell-focused - Fires a custom 'cell-focused' event when focus is on the cell or its contents

  • The default slot for cell contents. The "cell contents template" renders here.

Signature:

export declare class DataGridCell extends FoundationElement 

Properties

Property Modifiers Type Description
cellType DataGridCellTypes The type of cell
columnDefinition ColumnDefinition | null The base data for the column
gridColumn string The column index of the cell. This will be applied to the css grid-column-index value applied to the cell
rowData object | null The base data for the parent row

Methods

Method Modifiers Description
handleFocusin(e)
handleFocusout(e)
handleKeydown(e)