Distinct Filter items - how to show as Colours

3 posts, 0 answers
  1. james
    james avatar
    2 posts
    Member since:
    Aug 2011

    Posted 11 Jun 2015 Link to this post

    Hi There,

    I have a requirement to show the distinct filter values which are bound to a colour hex string as the colours they are rather than the raw hex values.  Is there a quick way to do this with the stock filtering control?

     

    Many Thanks

     James

  2. Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 11 Jun 2015 Link to this post

    Hello James,

    This is not possible out of the box, however, you can check the Filter Image Column sdk example. There, you will find a sample project showing how to filter the GridViewImageColumn. The approach towards other column would be similar.
    Although GitHub is a very well-known platform,
     please note you can download and configure SDK Samples Browser as described in the documentation.

    Regards,
    Dimitrina
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. DevCraft banner
  4. james
    james avatar
    2 posts
    Member since:
    Aug 2011

    Posted 11 Jun 2015 in reply to Dimitrina Link to this post

    Thanks for your reply,

     We have just managed to accomplish what we needed by writing our own filter control and setting the column to use our bespoke filter control.

    Many Thanks

Back to Top