fifeflyer69
19 Jul 2012, 8:21 AM
Hi,
I am attempting to upgrade from ExtJS 4.0.7 to 4.1.1 and having problems getting grids to display correctly in IE 8 (works perfectly well in Chrome and Firefox).
In the image below (IE), it appears that the columns are taking up equal spacing within the grid even though I am using a vbox layout with the fist column being a fixed width and the second having a flex of 1.
37331
But it works perfectly well in Firefox and Chrome:
37332
Is this a bug?
I've setup the panel with the following configuration:
hideHeaders: true,
layout: {
type: 'hbox',
align: 'left'
},
columns: [{
text: 'Type',
width: 30,
renderer: function(value, metadata, record, row, col, store) {
...
}
}, {
xtype: 'treecolumn',
text: 'Name',
flex: 1,
dataIndex: 'name',
renderer: function(value, metadata, record, row, col, store) {
...
}
}, {
text: 'Edit',
width: 24,
renderer: function(value, metadata, record, row, col, store) {
...
}
}]
I'm experiencing the issue with a tree panel and grid panel.
Any ideas?
Also, the row highlighting does not extend all the way to the right - I'm assuming space for a scrollbar. Is there any way to remove the "reserved" space?
I am attempting to upgrade from ExtJS 4.0.7 to 4.1.1 and having problems getting grids to display correctly in IE 8 (works perfectly well in Chrome and Firefox).
In the image below (IE), it appears that the columns are taking up equal spacing within the grid even though I am using a vbox layout with the fist column being a fixed width and the second having a flex of 1.
37331
But it works perfectly well in Firefox and Chrome:
37332
Is this a bug?
I've setup the panel with the following configuration:
hideHeaders: true,
layout: {
type: 'hbox',
align: 'left'
},
columns: [{
text: 'Type',
width: 30,
renderer: function(value, metadata, record, row, col, store) {
...
}
}, {
xtype: 'treecolumn',
text: 'Name',
flex: 1,
dataIndex: 'name',
renderer: function(value, metadata, record, row, col, store) {
...
}
}, {
text: 'Edit',
width: 24,
renderer: function(value, metadata, record, row, col, store) {
...
}
}]
I'm experiencing the issue with a tree panel and grid panel.
Any ideas?
Also, the row highlighting does not extend all the way to the right - I'm assuming space for a scrollbar. Is there any way to remove the "reserved" space?