jQuery UI Widgets Forums Grid cellclick Touch Event Position

This topic contains 1 reply, has 2 voices, and was last updated by  Christopher 8 years, 1 month ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • cellclick Touch Event Position #86451

    74bit
    Participant

    Hello,

    I need to find out the touch-position in case of an cellclick-event on a touch-device.

    Apparently “event.args.originalEvent.clientX” does not work here.

    Thanks

    cellclick Touch Event Position #86485

    Christopher
    Participant

    Hi 74bit,

    Unfortunately, you can’t get the touch coordinates from the “cellclick” event because “event.args.originalEvent” doesn’t contain touch coordinates. Your only option is to attach a “touchstart” event to the whole jqxGrid and get the tap coordinates from it.

    Best Regards,
    Christopher

    jQWidgets Team
    http://www.jqwidgets.com

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

You must be logged in to reply to this topic.