jQWidgets Forums

jQuery UI Widgets Forums Grid Selection issue

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

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • Selection issue #74238

    jjmac78
    Participant

    When using multiplecellsadvanced along with capturing cellclick and displaying an alert box (in my case I’m using it for a delete y/n confirmation) something strange happens when you close the modal dialog, a selection box is started. To see the problem, follow the js fiddle and click on any cell, then click ok on the pop up.

    http://jsfiddle.net/HB3Cb/150/

    is there a way to clear this selection box?

    Selection issue #74242

    Peter Stoev
    Keymaster

    Hi jjmac78,

    The issue here is that you mess with the Grid’s selection logic. You start the selection on click and you end it on mouse up, but you open an Alert which prevents the mouse up to happen and the selection is not ended.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

    Selection issue #74270

    jjmac78
    Participant

    Ahh ok. I fired a mouseup() on the original target after the dialog was closed and it fixed the problem, thanks.

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

You must be logged in to reply to this topic.