Hi [Ext 2.0] scroll bars and layout with grid [Archive] - Ext JS Forums:: If there is more data in the grid I want to see scrollbars for the entire . No! There is still a problem with this. I create my GridPanel but need to add http://extjs.com/forum/archive/index.php/t-12385.htmlHOME |
I have a grid showing 20 items per page.. I have set grid height: 310. but no scrollbars are available on first load. but when i click sort on column, scrollbars does appear.
Following is my code:
var grid = new Ext.grid.GridPanel({
border:true,
ds: listing_datastore,
cm: cm,
sm:sm,
loadMask: true,
height: 310,
autoScroll: true,
viewConfig: {
forceFit: false
},
animCollapse: false,
iconCls: 'icon-grid',
renderTo: 'results',
// inline toolbars
tbar:[{
text:'Share',
tooltip:'select properties from list n and share with others',
handler: function(){
share();
},
iconCls:'add'
}, '-', {
text:'Save',
tooltip:'select properties from list n and click to save in your shortlist',
iconCls:'option'
}],
bbar: new Ext.PagingToolbar({
pageSize: 20,
store: listing_datastore,
displayInfo: true,
displayMsg: '{0} - {1} of {2}',
emptyMsg: "No topics to display"
})
});
Please advice.
Thanks in advance
Ajit
Red Hat's Rough Recovery From CFO Exit
Windows Live Finds a New, Pre-installed Home |