Double click and selection

2 posts, 0 answers
  1. Morgan McCollough
    Morgan McCollough avatar
    34 posts
    Member since:
    May 2010

    Posted 30 Jul 2010 Link to this post

    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?
  2. Maya
    Admin
    Maya avatar
    4062 posts

    Posted 03 Aug 2010 Link to this post

    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
  3. DevCraft banner
Back to Top