Change row style based on value

2 posts, 1 answers
  1. Allan
    Allan avatar
    34 posts
    Member since:
    Aug 2015

    Posted 17 Aug 2015 Link to this post

    Hello there,

    I have a grid set up and I'd like to change the row and or cell style based on the value of a particular column.  For example a field had a value of "live" the row would be green or alternatively thee would be a green icon next word "live".  Can the grid do this? I had a look at templates but they don't seem to be specific enough or perhaps I wasn't understanding them.  I don't need any CSS/styling advice I just need to know if the grid can assign a class or whatever to the cell or row based on a single field data and if so how?

  2. Answer
    Dimiter Madjarov
    Admin
    Dimiter Madjarov avatar
    2306 posts

    Posted 18 Aug 2015 Link to this post

    Hello Allan,

    I would suggest to check the following project, that demonstrates a sample approach to implement the scenario. I hope it will help you to implement it on your end.

    Regards,
    Dimiter Madjarov
    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
Back to Top