I am trying to modify the color of the filter row in a RadGridView in the visual style builder. I have changed the BackColor property of the GridFilterRowElement but the filter row cell color does not change. Am I setting the wrong property?
Changing the back color of the GridFilterRowElement applies a certain background color to the entire row. But the GridFilterCellElement has its own back color applied over the row style. It is necessary to apply also back color to the GridFilterCellElement in order to achieve your goal. Please, see the attached pictures to see the difference.
I hope this information helps. Should you have further questions, I would be glad to help.
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WINFORMS.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely. Sign up for Free application insights >>
hi Dess, I wanted to ask you if you can change the background color to GridFilterRowElement and GridFilterCellElement with the code because I would like to change it to a grid added to a combobox. Thanks and you're the best
Dess | Tech Support Engineer, Principal
answered on 07 Mar 2019, 01:39 PM
According to the provided information, I suppose that you are using RadMultiColumnCombobox with enabled filtering. In order to change the color of the filtering row it is suitable to use the ViewCellFormatting event of the hosted grid:
I hope this information helps.
Dess | Tech Support Engineer, Sr.
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers.Learn More.