Scrolling in extjs grids -
Scrolling in extjs grids -
im go crazy.
i have panels configured follows:
accordion = new ext.panel({ id:'accordionpanel', title: 'options', region: 'center', animcollapse: true, border:false, minwidth: 150, maxwidth: 400, autoscroll:true, autoheight:true, layout: 'accordion', layoutconfig:{ animate: true } }); var panelone = new ext.panel({ region: 'center', layout:'border', defaults: { collapsible: true, split: true }, items: [{ title: 'navigation', region:'west', margins: '5 0 0 0', animcollapse: true, autoscroll:true, autoheight:true, width: 200, minwidth: 150, maxwidth: 400, layout: 'border', layoutconfig:{ animate: true }, items:[ ext.panel({ region: 'north', border:false, collapsible:false, height:65 , align:'center', html:myhtmlsource }), accordion ] },{ title: 'main content', region: 'center', layout:'absolute', listeners: { 'close': ext.bind(this.onportletclose, this) }, items:[somewindows], collapsible:false, margins: '5 0 0 0' }] }); viewport = new ext.viewport({ layout:'border', id:'viewport', items:[panelone] })
accordionpanel has bunch of grids 1 within of it:
var mygrid = new ext.grid.panel({ id:'mygrid', layout:'anchor', border:false, title:'my grid', width:412, store:store, heigth:300, frame:false, columns:[mycolumns], ..... });
each of grids separate accordion tab. problem grids never display scrolls.
just clear, looks border layout displayed here: http://dev.sencha.com/deploy/ext-4.0.0/examples/layout-browser/layout-browser.html except navigation panel has accordion within of multiple grids in it.
can't think of else try. anyone?
extjs grid scroll panel accordion
Comments
Post a Comment