PDA

View Full Version : PagingToolbar height in ext 3



crxtech
4 May 2009, 7:58 AM
The code below displays correctly in ext 2, but in 3 the bbar height is double what it should be and the displayMsg isn't aligned right anymore? I've tried using both height and autoheight, and nothing seems to change it.


var logGrid = new Ext.grid.GridPanel({
id:'logGrid',
el:'theGrid',
store: ds,
viewConfig:{emptyText:'No records to display'},
loadMask:true,
enableColumnMove:false,
enableColumnHide:true,
enableHdMenu:true,
width:729,
height:447,
stripeRows: true,
cm:cm,
view: new Ext.grid.GroupingView(),
plugins: filters,
autoExpandColumn: 'Action',
sm: new Ext.grid.RowSelectionModel({singleSelect: true}),
bbar: new Ext.PagingToolbar({
pageSize: 100,
store: ds,
displayInfo: true
})
});


logGrid.render();
ds.load({params:{start: 0, limit: 100}}); //Load the JSON

jay@moduscreate.com
4 May 2009, 9:31 AM
What browser are you having this issue on?

Does it happen in the examples?

crxtech
4 May 2009, 11:27 AM
I just realized I was still using the css from ext 2...=D> Looks much better with the right css file....

jay@moduscreate.com
4 May 2009, 11:29 AM
:) awesome.