Hi,
I defined a panel with a border layout and three child containers. In my application these child containers are "frames" which can host different (or none) components, depending on the application state. In case a frame contains a child component I there should be a splitter. If a frame contains no child component, the splitter should be invisible. Is it possible to dynamically show/hide the splitter of a frame after it has been inserted into the panel with the border layout?
Code:
{
xtype:'container',
region:'center',
layout:'border',
items: [
{
id: 'frame1',
xtype: 'container',
region: 'north',
layout: 'fit'
},
{
id: 'frame2',
xtype: 'panel',
layout: 'fit',
region: 'west',
split: 'true'
},
...
}
thanx