PDA

View Full Version : Yet another GridPanel Horizontal scrollbar issue.



carbotex
28 Jan 2010, 12:43 PM
It seems like there are a lot of threads for Horizontal scrollbar issue of the GridPanel. What is the proper way to insert grid into <div> tag and get the horizontal bar if the columns width exceed the view width?



var consultantStore = new App.ConsultantStore({id:'consultantStore'});

var consultantGrid = new App.ConsultantGrid({
id: 'consultantGrid',
store: consultantStore,
autoHeight: true,
stripeRows: true,
region: 'center',

bbar: new Ext.PagingToolbar({
pageSize: consultantPageSize,
store: consultantStore,
displayInfo: false
})
});

consultantGrid.render('grid-container');




<DIV id="pageContent">
<DIV id="grid-container"></DIV>
</DIV>