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

Double click and selection

1 Answer 120 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Morgan McCollough
Top achievements
Rank 1
Morgan McCollough asked on 30 Jul 2010, 04:07 PM
I have a RadGridView where I would like users to be able to select multiple rows, but I also want to handle a double click to trigger a search based on data in the row. I am using Extended selection mode, and I also created a handler for the CellDoubleClickEvent. What seems to be happening is that the grid recognizes each click of the double click as a selection event and then fires the double click event. So, depending on timing the grid row being clicked will be selected and de-selected in quick succession followed by the triggering of the search operation because of the double click event firing.

Do you have any suggestions of how to get around this? I would like the double click to result in the row being selected AND the double click event firing. Does that make sense?

1 Answer, 1 is accepted

Sort by
0
Maya
Telerik team
answered on 03 Aug 2010, 08:23 AM
Hello Morgan McCollough,

 
You may use the RowActivated event instead . An example for the proposed solution is exposed in our online demos.

Kind regards,
Maya
the Telerik team
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 Public Issue Tracking system and vote to affect the priority of the items
Tags
GridView
Asked by
Morgan McCollough
Top achievements
Rank 1
Answers by
Maya
Telerik team
Share this question
or