Can we fix the Data grid 2 headers

0
Hi Team,  Need help on fixing the headers of Datagrid 2. Tried with css styling but not working. Please suggest how we can do that.  
asked
2 answers
0

Priyanka ,

 

Use this styling if you want it for all grids:

.mx-datagrid table thead tr th {
    background: red;
}

If you want to run for a specific grid apply a custom class to it with any name.

 

Go Make it

answered
0

You need to enable “Show column filters” in Data grid 2 and Use the filters widget (which are present in Widgets > Data Controls) based on the header attribute data type then now write CSS in the filter widget 

answered