PDA

View Full Version : [FIXED] Horizontal scroll bar of grid disappears unless there're items in the store



lutiayi
8 Apr 2013, 1:08 AM
REQUIRED INFORMATIONExt version tested:

Ext 4.2.0.663
Browser versions tested against:

IE8,IE9
Chrome
Description:


Test Case:
Ext.create('Ext.data.Store', { storeId: 'simpsonsStore',
fields: ['name', 'email', 'phone'],
data: {
//'items': [
// { 'name': 'Lisa', "email": "lisa@simpsons.com", "phone": "555-111-1224" },
// { 'name': 'Bart', "email": "bart@simpsons.com", "phone": "555-222-1234" },
// { 'name': 'Homer', "email": "home@simpsons.com", "phone": "555-222-1244" },
// { 'name': 'Marge', "email": "marge@simpsons.com", "phone": "555-222-1254" }
//]
},
proxy: {
type: 'memory',
reader: {
type: 'json',
root: 'items'
}
}
});


Ext.onReady(function () {
new Ext.panel.Panel({
renderTo: Ext.getBody(),
height: 200,
width: 150,
layout: 'fit',
items: Ext.create('Ext.grid.Panel', {
title: 'Simpsons',
store: Ext.data.StoreManager.lookup('simpsonsStore'),
columns: [
{ text: 'Name', dataIndex: 'name' },
{ text: 'Email', dataIndex: 'email'},
{ text: 'Phone', dataIndex: 'phone' }
]
})
});
});HELPFUL INFORMATIONScreenshot or Video:

4298542986

slemmon
9 Apr 2013, 1:34 PM
Thanks for the report! I have opened a bug in our bug tracker.

cavallari
12 Apr 2013, 4:58 AM
This bug also affects the use of feature.filters, if the column is not visible unable to activate the filter.