HI, I would like to know if i's possible to change the color of the head of the datagrid?
thanks in advance
HI, I would like to know if i's possible to change the color of the head of the datagrid?
thanks in advance
You can use the following custom CSS properties:
:root {
--rz-grid-header-color: white;
--rz-grid-header-background-color: red;
}
Hi, I put these in my css file and it works but it does something weird after the sorting of category - it is white in that corner
Hi @athulya87,
This is not part of the DataGrid's header. It is a filter cell and uses the --rz-grid-filter-background-color
css variable:
:root {
--rz-grid-filter-background-color: #cccccc;
}
You can use browser's DevTools to inspect the different UI elements and the styles they use.