Highlight part of text in GridViewColumn

5 posts, 0 answers
  1. ITA
    ITA avatar
    383 posts
    Member since:
    Aug 2009

    Posted 05 Feb 2014 Link to this post

    Hi,

    how do I highlight a part of a text in a GridView-Column? My Text is for example: "This Car (BMW) is perfect" and i want to highlight "BMW", because
    it's the searchstring. The seaeched text should get a yellow background!
    I use an observalecollection bound on the GridView. 

    Thanks a lot
    Best Regards
    MJ
  2. ITA
    ITA avatar
    383 posts
    Member since:
    Aug 2009

    Posted 10 Feb 2014 in reply to ITA Link to this post

    Hi,

    is there no solution for my issue?

    Thanks
    Best Regards
    MJ
  3. UI for WPF is Visual Studio 2017 Ready
  4. Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 10 Feb 2014 Link to this post

    Hello,

    The closest option we can offer you would be to check this blog post. It demonstrates how to filter the grid and highlight the matching texts. However, please take a note that this is not official built-in feature and not officially supported from Telerik. 

    I hope it helps.

    Regards,
    Didie
    Telerik

    Check out the new Telerik Platform - the only modular platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native apps. Register for the free online keynote and webinar to learn more about the Platform on Wednesday, February 12, 2014 at 11:00 a.m. ET (8:00 a.m. PT).

  5. ITA
    ITA avatar
    383 posts
    Member since:
    Aug 2009

    Posted 28 Feb 2014 Link to this post

    Hi,

    thanks a lot, but the wpf version is missing, the link in the blog post ist not working!!!

    Thanks
    Best Regards
    Rene
  6. Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 28 Feb 2014 Link to this post

    Hello,

    Indeed, the link to the online demo shared in the blog is wrong. The correct one is this. The same demo is also available with our WPF Demos.

    Regards,
    Didie
    Telerik
Back to Top
UI for WPF is Visual Studio 2017 Ready