1. #1
    Ext User
    Join Date
    May 2009
    Posts
    10
    Vote Rating
    0
    Roshani is on a distinguished road

      0  

    Default Help- any alternative way to show scroll bar with fit layout using column layout.

    Help- any alternative way to show scroll bar with fit layout using column layout.


    Hi,

    I am using column layout having 2 columns .First column is displaying tabpanel and inside tabpanel - portal panels .I am having problem to attach scrollbar with columns.if i dont put layout:'fit' , then contents within tabpanel are not showing properly. as I am using fit layout,maybe thatswhy i am not able to see scroll bar...can any one suggest how to achive it.I want to show tabcontents inside one of column with scrollbar.

    new Ext.Viewport({

    layout:'column',
    height: 780,
    width:500,
    items: [{
    frame:true,

    title: 'TradeBlack',
    columnWidth: .75,

    layout:'fit',
    autoScroll: true,
    height:750,
    items: [tabPanel]
    },{
    title: 'Advertisement',
    collapsible : true,
    autoScroll: true,
    height:750,
    columnWidth: .25,

    html: 'Content'
    }]
    });

  2. #2
    Sencha - Ext JS Dev Team Animal's Avatar
    Join Date
    Mar 2007
    Location
    Notts/Redwood City
    Posts
    30,483
    Vote Rating
    35
    Animal has a spectacular aura about Animal has a spectacular aura about

      0  

    Default


    Unfortunately, column layout does not set each column's height!

    Use my fitHeight: true extension, or, alternatively, layout: 'hbox'

  3. #3
    Ext User
    Join Date
    May 2009
    Posts
    10
    Vote Rating
    0
    Roshani is on a distinguished road

      0  

    Default


    Thanks for your reply.
    I want to have same height for both column..so thats not issue.
    main issue is how to have scroll bar if i m using fit layout.
    I tried fitHeight:true, and removed layout:'fit' line but not working.
    If I dodnt use layout:'fit', it doesnot display whole content in that column.
    please let me know....

  4. #4
    Sencha - Ext JS Dev Team Animal's Avatar
    Join Date
    Mar 2007
    Location
    Notts/Redwood City
    Posts
    30,483
    Vote Rating
    35
    Animal has a spectacular aura about Animal has a spectacular aura about

      0  

    Default


    Well it won't give you the same height for each column unless you use my extension or hbox.

    Where are you wantiung this scrollbar? The only place that I see appropriate for one is the second column, and that already has autoScroll:true, and will therefore offer scrollbars if the content overflows.

  5. #5
    Ext User
    Join Date
    May 2009
    Posts
    10
    Vote Rating
    0
    Roshani is on a distinguished road

      0  

    Default


    Thanks for your reply.
    I want scrollbar in first column also.
    as contents are huge for first column so its not showing all.

  6. #6
    Sencha - Ext JS Dev Team Animal's Avatar
    Join Date
    Mar 2007
    Location
    Notts/Redwood City
    Posts
    30,483
    Vote Rating
    35
    Animal has a spectacular aura about Animal has a spectacular aura about

      0  

    Default


    It's a TabPanel! Show content in tabs. Each tab can scroll if necessary.

  7. #7
    Ext User
    Join Date
    May 2009
    Posts
    10
    Vote Rating
    0
    Roshani is on a distinguished road

      0  

    Default


    hi...really thanks for help....I forgot to put autoScroll:true, for tab...I just checked now....its working well...........thanks

Thread Participants: 1

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar