rx-datatable API
    Preparing search index...

    Interface TableTheme

    A complete visual style for tables/lists: a color scheme plus metrics. The two halves are independent, so { ...darkColors, ...compactMetrics } is a valid theme.

    interface TableTheme {
        cellPadding?: string;
        className?: string;
        colorScheme?: string;
        headerBackground?: string;
        hoverSelectedBackground?: string;
        hoverUnselectedBackground?: string;
        itemPadding?: string;
        parentSelectedBackground?: string;
        resizeCursor?: string;
        rowBackground?: string;
        rowBorder?: string;
        selectedBackground?: string;
        stripeBackground?: string;
        textColor?: string;
        treeIndent?: string | number;
    }

    Hierarchy (View Summary)

    Index
    cellPadding?: string

    Padding of table cells, unless the noPadding item prop is set (--dtbl-cell-padding).

    className?: string

    Extra class name(s) for the outer element, e.g. to add rules beyond the variables.

    colorScheme?: string

    Sets the CSS color-scheme property on the container (not a --dtbl-* variable). 'light dark' makes light-dark(...) color values (as used by the auto* presets) follow the browser's light/dark preference; 'light'/'dark' also render matching scrollbars inside the scrollable wrapper. Note: applyTheme targets <html> by default, where color-scheme: dark affects the whole page's form controls and default canvas — theme a subtree or table instead if that's unwanted.

    headerBackground?: string

    Background of the sticky header cells (--dtbl-header-bg; default: inherit, i.e. the row background, which the header row must repaint to cover scrolled data rows).

    hoverSelectedBackground?: string

    Background of hovered selected rows (--dtbl-hover-selected-bg).

    hoverUnselectedBackground?: string

    Background of hovered unselected rows (--dtbl-hover-unselected-bg).

    itemPadding?: string

    Padding of list/tree items outside tables (--dtbl-item-padding).

    parentSelectedBackground?: string

    Background of rows whose (grand)parent row is selected, when the highlightChildrenOfSelectedParents item prop is enabled (--dtbl-parent-selected-bg).

    resizeCursor?: string

    CSS cursor shown over the column-resize drag handle (--dtbl-resize-cursor). Can be a url(...) x y, fallback value; defaults to defaultResizeCursor.

    rowBackground?: string

    Background of data rows and list items (--dtbl-row-bg).

    rowBorder?: string

    Bottom border of all cells, as a full CSS border value (--dtbl-row-border).

    selectedBackground?: string

    Background of selected rows/items (--dtbl-selected-bg).

    stripeBackground?: string

    Tint drawn over every other table row — the 1st, 3rd, 5th... (--dtbl-stripe-bg; default: transparent, i.e. no striping). Although this is a color, it lives in TableMetrics because a translucent value (see the stripedRows preset) reads correctly over any color scheme, making striping an independent layout choice. Selection and hover tints replace the stripe on their row. Note: with virtualize, off-screen rows collapse into placeholders, so stripe parity is relative to the rendered rows and can shift while scrolling.

    textColor?: string

    Text color of rows and items (--dtbl-text; default: inherit from the page).

    treeIndent?: string | number

    Indent per level of tree nesting (--dtbl-indent). A number means pixels. This is ignored by tables/trees that have an explicit indentPerLevel prop.