PDA

View Full Version : problem with Collapsed.....



TAG
20 Jul 2009, 2:30 AM
Hello,
I have a panel with this code:

var ContenitoreDestro=new Ext.Panel({
region:'east',
title: 'ProprietÓ',
id:'Proprieta',
collapsible: true,
width: 280,
frame: true,
layout:'fit',
margins:'0 5 0 0',
iconCls: 'proprieta',
autoScroll: false,
collapseFirst: true,
hideBorders: false,
hideCollapseTool: false,
border:true,
animScroll: true,
animCollapse: true,
titleCollapse: false,
split: true,
collapsed: true,
tbar:['->','|',listaPannelliDestro],
items: contenitorePannelliDestra
})

where "contenitorePannelliDestra" is a TabPanel.
The problem is with imposted "Collapsed: true" in the Panel, I expect that the panel initially is closed, but it isn't close..... :-/

Lukman
20 Jul 2009, 4:01 AM
collapsed != closed

TAG
20 Jul 2009, 5:08 AM
yes, i know this, I would with Panel is collapsed, and the user click on men¨ closable for un-closable the panel