iPad / Android tablet and scrolling?

iPad / Android tablet and scrolling?

bill.martinobill.martino Posts: 38Questions: 0Answers: 0
edited September 2011 in General
I am trying to get datatables to work on a galaxy Android tablet and am having an issue with vertical and horizontal scrolling? Essentially, the browser built into the galaxy and the iPad stock browser are not able to render this properly, the table renders but expands all the way vertically and horizontally. Has anyone come across this issue?

Replies

  • bill.martinobill.martino Posts: 38Questions: 0Answers: 0
    I resolved this issue by simply inserting tablet/mobile specific meta tags http://learnthemobileweb.com/2009/07/mobile-meta-tags/

    There was still an issue in the stock Android browser where the header row could not 'catch up' with the horizontal scrolling, I found this to work perfectly in Firefox, so the solution there is to use Firefox on Android for DataTables.
  • allanallan Posts: 63,542Questions: 1Answers: 10,476 Site admin
    Hi Bill,

    I've found that my examples of scrolling (e.g. http://datatables.net/release-datatables/examples/basic_init/scroll_y.html ) work okay in Safari on iOS devices. The trick is to use two fingers to scroll the element (not exactly obvious...). My understanding is that scrolling elements will be implemented more fully (with CSS support) in iOS5.

    You might also be interested in this post ( http://www.datatables.net/forums/discussion/5770/ipadtouchswipe-with-scroller/p1 ) and others by "tommck" who has been working on single finger scrolling for a DataTable in iOS.

    Regards,
    Allan
  • rornellasrornellas Posts: 1Questions: 0Answers: 0
    bill, im experiencing the same problem you had. What metatags did you add to your page?
This discussion has been closed.