ThemeDefaultsSettings

Defines the theme-scoped default dimension values used by the Data Grid component. Holds the row height, grouping indentation, and TreeGrid hierarchy indentation applied for a given theme. Values are expressed in pixels.

Props

The following table outlines the props for the ThemeDefaultsSettings:

NameTypeDefaultDescription
groupingIndent
number
20

The indentation in pixels applied at each grouping level. Applied to the grouping caption cell for a grouped row.

rowHeight
number
50

The default row height in pixels applied to content rows. Used when row DOM virtualization is enabled and no explicit row height is configured.

treeGridLevelIndent
number
20

The indentation in pixels applied at each TreeGrid hierarchy level. Applied to the tree cell of a TreeGrid row, where the level 0 root row receives no indentation.