PDA

View Full Version : get element of an non-shown accordian-panel



ballibum
1 Feb 2010, 1:35 AM
hello list,
i have got a accordionmenue, but i am only getting the elements of the shown elements. what can i do, to get an non-shwon value?



tem = new Ext.form.TextField({
fieldLabel: 'Basiswert',
id:'basiswert',
name: 'basiswert',
width:230,
border:false,
value:0
});

test = new Ext.FormPanel({
frame:true,
border:false,
name:'klima',
autoWidth: true,
height:500,
items: [tem]
});


the viewport:

{
region: 'west',
id: 'west-panel',
title: 'Optionen',
split: true,
width: (window.innerWidth)/2,
margins: '0 0 0 0',
layout: 'accordion',
activ: ['klima1'],
layoutConfig:{
titleCollapse: false,
animate: false,
activeOnTop: true
},
items: [{
id: 'hilfe',
title: 'Anleitung',
border: false,
html:'Hier wird eine kurze Einführung gegeben <input type="text" id="0" name="beispiel" value="Horst" size="20" />',

},{
title: 'Klima & Boden',
id:'klima1',
border: false,
collapsed: true,
items:[test]
}]
}