1. Add a Custom Class to the Data Grid
• Open the properties of the Data Grid.
• In the Class property, add a unique class name, e.g., custom-grid.
2. Add Custom CSS Rules
• Open your project’s theme.scss or custom-variables.scss file (depending on where you manage your styles).
• Add the following CSS to target the first and second
columns:.custom-grid .mx-name-column1 { background-color: red;}.
custom-grid .mx-name-column2 { background-color: red;}
• Replace mx-name-column1 and mx-name-column2 with the actual names of the columns.
Hi Shreyansh,
Just paste this code in your main.scss
.table .th{
background-color: #FF0000;
}