PDA

View Full Version : [4.0.1] GridPanel Vertical scrollBar



cumpa
30 May 2011, 1:11 PM
Hi all,
if you manually load a data into a grid that has horizontal bar already visible, the vertical bar is not displayed correctly.

In array grid example (tested with IE9, FF4.0.1, Chrome 11.0.*),
remove data from store



var store = Ext.create('Ext.data.ArrayStore', {
fields: [
{name: 'company'},
{name: 'price', type: 'float'},
{name: 'change', type: 'float'},
{name: 'pctChange', type: 'float'},
{name: 'lastChange', type: 'date', dateFormat: 'n/j h:ia'}
]
// data: myData
});


add button for loading data:



...
tbar: [{
text: 'Load',
handler: function() {
store.loadData(myData);
}
}],
...


reduce grid width:


width: 200,

After page is loaded click button to load data.

Thx.
Cumpa

aconran
1 Jun 2011, 6:25 AM
Thanks, this has been fixed for the 4.0.2 release.