Highlight some rows based on the condition when creating the grid view

2 posts, 0 answers
  1. Mengjie
    Mengjie avatar
    5 posts
    Member since:
    Jul 2015

    Posted 24 Feb 2016 Link to this post

    I know gridview can highlight the row by selection. Is that possible to highlight some rows based on some conditions(for example name==john will be hightlight) when create the data grid view and this will not related with the selection. How should I set this? Thanks very much for anyone can help
  2. Dilyan Traykov
    Dilyan Traykov avatar
    1073 posts

    Posted 26 Feb 2016 Link to this post

    Hello Mengjie,

    You can use RowStyleSelectors and apply a specific style to the row whenever a certain condition is met.
    Please let me know whether this approach would work for you.

    Dilyan Traykov
    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
Back to Top