Framework:Javascript Data GridAngular Data GridReact Data GridVue Data Grid

Angular Data Grid: Customising Tool Panels

Style the Filters Tool Panel and Columns Tool Panel.

Styling the Tool Panel Area

The Tool Panel is a tabbed container. It exposes CSS variables:

.ag-theme-alpine {
    --ag-control-panel-background-color: rgb(228, 197, 203);
    --ag-side-button-selected-background-color: rgb(228, 197, 203);

    --ag-selected-tab-underline-color: deeppink;
    --ag-selected-tab-underline-width: 2px;
    --ag-selected-tab-underline-transition-speed: 0.5s;

    --ag-side-bar-panel-width: 300px;
}

Styling the Columns Tool Panel

The --ag-column-select-indent-size CSS Variable sets the indent of each column group within the columns tool panel. For further customisation, use CSS selectors.

This example demonstrates changing the column indent and the style of the column drop component in the Row Groups area:

.ag-theme-alpine {
    --ag-column-select-indent-size: 40px
}

.ag-theme-alpine .ag-column-drop-cell {
    background-color: purple;
}

.ag-theme-alpine .ag-column-drop-cell .ag-icon {
    color: white;
}

.ag-theme-alpine .ag-column-drop-cell-text {
    color: white;
    font-weight: bold;
}