Interface GridSpecificProps

Definition

export interface GridSpecificProps

Comments

Props specific to the Grid and not the Table.

Properties

NameOptionalDefinitionComment
bodyCellFocusVarianttrueBodyCellVariantFn

Function to set the color variant of body cell focus rings

bodyCellVarianttrueBodyCellVariantFn

Function to set the color variant of body cells on a per-cell basis. Overrides the row-wide setting when this function returns a non-null value.

bodyRowVarianttrue(row: FormattedRow, displayIndex: number) => string | null

Function to set the color variant of body rows

borderstrueGridBorderSetting

The border setting of the grid

borderVarianttruestring

The border color variant of the grid

dividertrueboolean

Toggles a horizontal divider between the grid header and body

headerCellFocusVarianttrueHeaderCellVariantFn

Function to set the color variant of header cell focus rings

headerCellVarianttrueHeaderCellVariantFn

Function to set the color variant of header cells. Overrides the row-wide setting when this function returns a non-null value.

headerRowVarianttruestring

Sets the color variant of the header row

heighttrueGridHeightSetting

The height setting of the grid

@defaultValue

"auto"

hovertrueboolean

Toggles hover styles for the grid

smalltrueboolean

Toggles a denser grid style

stripestrueGridStripeSetting

The stripe setting of the grid

varianttruestring

The grid-wide color variant

widthtrueGridWidthSetting

The width setting of the grid

@defaultValue

"auto"