Results 1 to 3 of 3

Thread: Sencha touch multiple data views in a container, scrolls horizontally and vertically

  1. #1
    Sencha User
    Join Date
    Apr 2013
    Location
    Hyderabad
    Posts
    37

    Default Sencha touch multiple data views in a container, scrolls horizontally and vertically

    I have a navigation view and multiple data views inside it. Everything works fine, but when i try to scroll any of the data views horizontally, the component also scrolls vertically( Please watch the video here: http://screencast.com/t/b9aWhgLdYI ) I want it to be such that when the dataview is scrolling, the vertical scroll should be stopped. But vertical scroll should happen when we scroll vertically out side the dataview.


    Any ideas how we can achieve it?
    --
    Abhi

  2. #2
    Sencha User
    Join Date
    May 2014
    Posts
    18

    Default

    U can try
    Code:
    scrollable: {            direction: 'horizontal',            directionLock: true}
    for dataview and
    Code:
    scrollable: {            direction: 'vertical',            directionLock: true}
    for list

  3. #3
    Sencha User
    Join Date
    Apr 2013
    Location
    Hyderabad
    Posts
    37

    Default

    Wow...That solves my problem perfectlyy....Thanks a lot
    --
    Abhi

Similar Threads

  1. How to load data to multiple views in Sencha Touch
    By jtdiala in forum Sencha Touch 2.x: Q&A
    Replies: 1
    Last Post: 11 Nov 2014, 4:26 PM
  2. Replies: 5
    Last Post: 20 Dec 2011, 12:21 AM
  3. Replies: 2
    Last Post: 11 Oct 2011, 4:34 AM
  4. Data view: Loading it vertically first then horizontally
    By anilcs0405 in forum Ext 3.x: Help & Discussion
    Replies: 7
    Last Post: 11 Nov 2009, 7:03 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •