jQWidgets Forums

jQuery UI Widgets Forums Grid Rowdoubleclick Extra Click Event Received

This topic contains 2 replies, has 2 voices, and was last updated by  Peter Hancox 10 years, 9 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author

  • Peter Hancox
    Participant

    I have a jqxGrid which launches a jQueryMobile popup for editing the row content when a “rowdoubleclick” event is received.

    It appears like an additional click of some sort is being received after the double click (though I’ve checked explicitly for click, rowclick, and rowdoubleclick) to change the focus. I’m presuming this is what is happening because if the double click occurs outside the area where the popup is painted, then it is immediately dismissed. Double clicking where the popup appears means it is not dismissed and double clicking outside the popup paint area while the popup has data-dismissible=”false” also prevents it from being automatically dismissed.

    It’s as if a click is being received at the doubleclick location after the doubleclick is processed?

    Events I have traced appear in the following order:

    1. rowclick
    2. click
    3. rowclick
    4. rowdoubleclick

    So I don’t know what event occurs after this to cause the popup to be dismissed. Any ideas?

    THANKS
    Peter


    Peter Stoev
    Keymaster

    Hi Peter,

    “rowdoubleclick” is raised when you double click exactly on a Grid row. If you click somewhere else or on HTML Element above the Grid, the event will not be raised.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com/


    Peter Hancox
    Participant

    Hi Peter,

    I think you may have misunderstood my issue? I’m getting and processing the doubleclick exactly as I would expect, however, it appears as if another click (or similar event) is happening after the doubleclick is processed causing the focus to be returned to the jqxGrid. The popup dialog is being dismissed exactly as if the user clicked outside the popup. This hypothesis is backed up by the popup not being dismissed if the popup is flagged as not dismissible, or the popup is covering the point where the doubleclick was made.

    This behaviour is consistent across simulator, Android tablet, and Android phone.

    THANKS
    Peter

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.