Filter column based on cell background color

3 posts, 1 answers
  1. Terry
    Terry avatar
    3 posts
    Member since:
    Oct 2012

    Posted 04 Nov 2014 Link to this post

    I am using version 2014.2.729.45 of the RadGridView Control. I have used cell style selectors to change the background of the cells in a column to represent different situations. 

    Is there a way to filter a column on a specific cell background color? An example of what I am looking for is in excel. If a column has cells with different colored backgrounds, you can select the color in the filter choices.

    Does the RadGridView filtering have this capability? If not, is there a way I can add this functionality?

    Thanks,
    Terry


  2. Answer
    Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 06 Nov 2014 Link to this post

    Hello Terry,

    The filtering is a data operation and it will be done based on the DataMemberBinding specified for a column. Alternatively, you can specify a FilterMemberPath so that the column to be filtered on another property of the bound business object. For the purpose you should expose a property of your business object to represent the different colors.
    You can also check our online documentation where the filtering is explained in details.


    Let me know how this works for you.

    Regards,
    Dimitrina
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  3. Terry
    Terry avatar
    3 posts
    Member since:
    Oct 2012

    Posted 06 Nov 2014 in reply to Dimitrina Link to this post

    Thank you for your response Dimitrina, I will give that a try.
Back to Top