Results 1 to 4 of 4

Thread: how do i put vertical Scrollbar in dataview extjs4

  1. #1
    Sencha User
    Join Date
    Jul 2017
    Posts
    9
    Answers
    1

    Default how do i put vertical Scrollbar in dataview extjs4

    hiii i building a Ext Js 4 MVC application in which i m using Dataview for displaying images, but i want to put vertical scrollbar in dataview m trying autoScroll: true but is not working so how it is possible check my code and suggest me.




    this.ImagePanel = new Ext.form.Panel({ //Panel
    padding: '5 5 5 5',
    layout: 'fit',
    border: false,
    //frame: true,
    // collapsible: true,
    title: 'Image Gallery',
    height: 800,
    width: 1000,
    id: 'img-chooser-view',

    items: new Ext.create('Ext.view.View', { //DataView
    store: myStore,
    tpl: imageTemplate,
    autoHeight: true,
    multiSelect: true,
    layout: 'hbox',
    renderTo: 'dataview',
    overCls: 'x-view-over',
    itemSelector: 'div.thumb-wrap',
    trackOver: true,
    emptyText: 'No images to display',
    autoScroll: true //autoScroll:true here


    })
    });

  2. #2
    Sencha User
    Join Date
    Feb 2013
    Location
    California
    Posts
    11,985
    Answers
    506

    Default

    Is the form panel scrolling?

  3. #3
    Sencha User
    Join Date
    Jul 2017
    Posts
    9
    Answers
    1

    Default

    Quote Originally Posted by Gary Schlosberg View Post
    Is the form panel scrolling?

    No it is a View Scrolling , i want to put scroll bar into Dataview but using autoScroll:true its not working for me.

  4. #4
    Sencha User
    Join Date
    Jul 2017
    Posts
    9
    Answers
    1

    Default

    style: {
    overflowY: 'scroll'
    },

    i can see the ScrollBar using Above Config but its not working properly

Similar Threads

  1. Replies: 1
    Last Post: 11 Apr 2016, 3:40 PM
  2. Replies: 1
    Last Post: 27 Feb 2015, 11:07 AM
  3. Replies: 4
    Last Post: 6 Sep 2012, 2:57 AM
  4. Horizontal Scrollbar caused by Vertical Scrollbar
    By dbeatle123 in forum Ext 3.x: Help & Discussion
    Replies: 3
    Last Post: 29 Nov 2010, 6:02 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
  •