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

Fire RowActivated when double clicking outside cell

1 Answer 135 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Michael
Top achievements
Rank 1
Michael asked on 22 Sep 2011, 11:12 PM
If I double click inside a cell, RowActivated is fired. If I double click on a row in the space to the right of my last column (empty space), RowActivated is not fired.

The row highlights continue to change as the mouse is moved in the empty space. It's more natural to assume that a double click should activate the row even if the cursor is in the empty space.

Is there a way to enable this?

1 Answer, 1 is accepted

Sort by
0
Maya
Telerik team
answered on 23 Sep 2011, 08:41 AM
Hi Michael,

For the time being RadGridView does not support the functionality of firing the DoubleClick event on clicking upon the space beyond the columns. However, we have logged as a feature request the RowActivated event to be fired on clicking in this area. As this event is fired on double clicking in the row on hitting "Enter", you will be able to subscribe to it and use it instead. You may vote for this issue here.
However, a possible approach to achieve the same functionality will be to create a custom - DoubleClick class that handles the cases of double clicking. I am sending you a sample project illustrating the proposed solution. 
 

Regards,
Maya
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
GridView
Asked by
Michael
Top achievements
Rank 1
Answers by
Maya
Telerik team
Share this question
or