Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
735
ClickRow event?
posted

Hi,

The grid has a DoubleClickRow event, but what about a (Single)ClickRow event? I want to perform different actions depending on whether the user does a single or double click on a row. I tried using AfterRowActivate but it fires before the DoubleClickRow event. I thought of implementing a timer in the Click or AfterRowActivate event that waits for the double click event to fire, but if there is a better way I would like to know about it.

Thanks

Parents
No Data
Reply
  • 469350
    Verified Answer
    Offline posted

    Since a Click is a neccessary prerequisite for a double click, I don't see how this could possibly work without using a timer or something like that. You will always get a click before a DoubleClick. In fact, I think in most cases, you will get two clicks and then a double-click. Although, it depends on the control. 

Children
No Data