Hi,
I want to know if there is a simple way to change the color of RadzenDataGrid font.
Not only row, but all the datagrid.
Regards,
Hi,
I want to know if there is a simple way to change the color of RadzenDataGrid font.
Not only row, but all the datagrid.
Regards,
Hi @Pascal_Felix,
Substituting the correct CSS variables' values should do the trick. You can inspect the elements with devtools and find the variables you need to update. In your case that would be:
:root {
--rz-grid-cell-color: red;
--rz-grid-header-color: red;
--rz-grid-foot-cell-color: red;
--rz-grid-filter-color: red;
--rz-grid-sort-icon-color: red;
}
Adding this CSS to your app should change the color of RadzenDataGrid font. Keep in mind that RadzenDataGrid is an interactive component and depending on your scenario you might need to take into account hover/active/selected states of buttons and rows.
Ok, it's work well.
Thanks for your support.