jQuery Mobile and Scroller

jQuery Mobile and Scroller

jqm1000jqm1000 Posts: 2Questions: 0Answers: 0
edited May 2013 in DataTables 1.9
Hi all,

i've just added jquery mobile as one variant of my application. It seems that when I put a datatable inside a jquery mobile "content" that jquery mobile will eat up all scrolling events. Anyone knows how to fix this ? (I want horizontal content scrolling via jquery mobile, and vertical scrolling as in the scroller example here http://datatables.net/release-datatables/extras/Scroller/server-side_processing.html

I tried using
[code]$(document).delegate('.ui-content', 'touchmove', false);[/code]
but this just disables horizontal scrolling (vertical datatables scrolling still not working)

Replies

  • jqm1000jqm1000 Posts: 2Questions: 0Answers: 0
    Stupid me. Just when I tried to prepare a fiddle for this I realized that it was not including the scroller.js.

    Here's the demo anyway:
    http://jsfiddle.net/bScHs/12/
    http://jsfiddle.net/bScHs/12/embedded/result/

    Seems to work on iPad iOS 5 and Android (Nexus 7)
This discussion has been closed.