RadGridView filter row background color

4 posts, 0 answers
  1. BJ
    BJ avatar
    3 posts
    Member since:
    Apr 2013

    Posted 26 Aug 2013 Link to this post

    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?
  2. Dess | Tech Support Engineer, Sr.
    Admin
    Dess | Tech Support Engineer, Sr.  avatar
    3988 posts

    Posted 28 Aug 2013 Link to this post

    Hello BJ,

    Thank you for contacting Telerik Support.

    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.

    Regards,
    Desislava
    Telerik
    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 >>
  3. fabrizio
    fabrizio avatar
    21 posts
    Member since:
    Aug 2010

    Posted 06 Mar 2019 in reply to Dess | Tech Support Engineer, Sr. Link to this post

    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
    Fabrizio
  4. Dess | Tech Support Engineer, Sr.
    Admin
    Dess | Tech Support Engineer, Sr.  avatar
    3988 posts

    Posted 07 Mar 2019 Link to this post

    Hello, Fabrizio,   

    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.

    Regards,
    Dess | Tech Support Engineer, Sr.
    Progress Telerik
    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.
Back to Top