Coloring a cell on row over

4 posts, 0 answers
  1. Michele
    Michele avatar
    426 posts
    Member since:
    Jun 2009

    Posted 13 Nov 2012 Link to this post

    Hello,
    how can I color a cell (or better set opacity to 0 in another grid) when I do a mouseover a row? should I use a behavior or visualstate?

    Thanks
  2. Yoan
    Admin
    Yoan avatar
    1215 posts

    Posted 14 Nov 2012 Link to this post

    Hello Paolo,

     
    You can check this help article, showing how to override the default RadGridView styles.

    Kind regards,
    Yoan
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. Michele
    Michele avatar
    426 posts
    Member since:
    Jun 2009

    Posted 14 Nov 2012 Link to this post

    Ok but I need on a cell of the row not the whole row!
  4. Yoan
    Admin
    Yoan avatar
    1215 posts

    Posted 19 Nov 2012 Link to this post

    Hi Paolo,


    You can set GridView's property - SelectionUnit to Cell. In this way you will enable single cell selection. Then you can predefine GridViewCell style as I mentioned in my previous reply. For your convenience I have attached a sample project showing you this approach.

    If that does not satisfy you, may I ask you to explain what exactly you want to achieve?

     

    Kind regards,
    Yoan
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Back to Top