Skip to main content
Version: 1.x

@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

PropertyModifiersTypeDescription
cellTypeDataGridCellTypesThe type of cell
columnDefinitionColumnDefinition | nullThe base data for the column
gridColumnstringThe column index of the cell. This will be applied to the css grid-column-index value applied to the cell
rowDataobject | nullThe base data for the parent row

Methods

MethodModifiersDescription
handleFocusin(e)
handleFocusout(e)
handleKeydown(e)