jQWidgets Forums

jQuery UI Widgets Forums Grid mousewheel event not getting triggered

This topic contains 3 replies, has 2 voices, and was last updated by  Peter Stoev 11 years, 5 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • mousewheel event not getting triggered #46590

    dana
    Participant

    My grid was bound to the mousewheel event as one of the events passed in with the options. But after updating my code to the latest jqxGrid I no longer can catch this event.

    What was changed? Is there a new way for me to catch this event?

    mousewheel event not getting triggered #46591

    Peter Stoev
    Keymaster

    Hi dana,

    You can use only the events documented in the API. Any other events not included in the API are not expected to work as most of the keyboard, mouse and touch events are handled internally by the Grid.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

    mousewheel event not getting triggered #46593

    dana
    Participant

    My concern is I was able to get this to work before and something has changed with the update.

    My issue is I have 2 grids, and I want scrolling 1 grid to also scroll the 2nd. I had this working before by trapping the mousewheel event and calling the “wheel” method on each.

    On a similar issue: I had a watch on the grid’s “scrolling().vertical” value. If it was true, I knew the grid was scrolling and I’d trigger the scrolling event myself. This also no longer seems to work.

    Thank you very much for your quick response.

    mousewheel event not getting triggered #46597

    Peter Stoev
    Keymaster

    Hi dana,

    I do not suggest you to use internal API as it changes over time. Please, use only the API documented in the documentation. We cannot guarantee that internal functions like “wheel” would work in a specific way or whether we would change the name of an internal function after refactoring a part of it. If your custom solution with internal API calls worked for you before, then you may not switch to a newer version until we provide a public API for such actions.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

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

You must be logged in to reply to this topic.