This is a migrated thread and some comments may be shown as answers.

Coloring a cell on row over

3 Answers 39 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Michele
Top achievements
Rank 2
Michele asked on 13 Nov 2012, 12:23 PM
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

3 Answers, 1 is accepted

Sort by
0
Yoan
Telerik team
answered on 14 Nov 2012, 12:41 PM
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.

0
Michele
Top achievements
Rank 2
answered on 14 Nov 2012, 01:28 PM
Ok but I need on a cell of the row not the whole row!
0
Yoan
Telerik team
answered on 19 Nov 2012, 11:30 AM
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.

Tags
GridView
Asked by
Michele
Top achievements
Rank 2
Answers by
Yoan
Telerik team
Michele
Top achievements
Rank 2
Share this question
or