PDA

View Full Version : collapse() / expand() does not workin in IE7



hobbes
23 May 2009, 5:57 AM
hi,

i have a border layout

var FullPanel = new Ext.Viewport({
layout: 'border',

items: [{
region: 'north',
// ...
},{
title: 'Menü',
id:'id_addressformWest',
region: 'west',
margins: '5 0 0 5',
cmargins: '5 5 0 5',
collapsible:true,
width: 310,
minSize: 150,
maxSize: 310,
split:true,
items: [
// ...
]
}, {
region: 'center',
// ...
}]
});

And try to collapse it somewhere else like this.


Ext.getCmp('id_addressformWest').collapse();

But this (and also expand()) does not work in IE 7.
There is no javascript error.
What could cause this problem?

Thank you!
Hobbes