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

is there a way to bind to a cell which the mouse is over

1 Answer 42 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Chris
Top achievements
Rank 1
Chris asked on 18 Jun 2014, 04:05 PM
Hi,

I have noticed that when you move your mouse over a cell it changes colour. Is there a way to bind to this cell? I have other edit boxes on my form which I want to update depending on which cell the mouse is over. Ie as you move your mouse over the different cells, values in other edit boxes change.  I am not explicitly selecting the cells by clicking on them, just moving my mouse over that cell.

1 Answer, 1 is accepted

Sort by
0
Nick
Telerik team
answered on 20 Jun 2014, 07:19 AM
Hi Chris,

You can get the cell by subscribing to the MouseMove event of RadGridView, and use the OriginalSource property to get the exact cell that is being hovered. 

Hope this helps. 

Regards,
Nik
Telerik
 
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
 
Tags
GridView
Asked by
Chris
Top achievements
Rank 1
Answers by
Nick
Telerik team
Share this question
or