Interface GridSpecificProps
Definition
export interface GridSpecificProps Comments
Props specific to the Grid and not the Table.
Properties
| Name | Optional | Definition | Comment |
|---|---|---|---|
| bodyCellFocusVariant | true | BodyCellVariantFn | Function to set the color variant of body cell focus rings |
| bodyCellVariant | true | BodyCellVariantFn | 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. |
| bodyRowVariant | true | (row: FormattedRow, displayIndex: number) => string | null | Function to set the color variant of body rows |
| borders | true | GridBorderSetting | The border setting of the grid |
| borderVariant | true | string | The border color variant of the grid |
| divider | true | boolean | Toggles a horizontal divider between the grid header and body |
| headerCellFocusVariant | true | HeaderCellVariantFn | Function to set the color variant of header cell focus rings |
| headerCellVariant | true | HeaderCellVariantFn | Function to set the color variant of header cells. Overrides the row-wide setting when this function returns a non-null value. |
| headerRowVariant | true | string | Sets the color variant of the header row |
| height | true | GridHeightSetting | The height setting of the grid @defaultValue |
| hover | true | boolean | Toggles hover styles for the grid |
| small | true | boolean | Toggles a denser grid style |
| stripes | true | GridStripeSetting | The stripe setting of the grid |
| variant | true | string | The grid-wide color variant |
| width | true | GridWidthSetting | The width setting of the grid @defaultValue |