Another issue that I'm having is trying to open an accordion panel when I check a checkbox. I tried using the show() method but it doesn't seem to work. Anyway here's some back ground on this issue: when I go to the tab that this exists in the checkboxes are on the left and the main panel on the right have a set of 4 accordion panels which match four checkboxes. The first accordion panel is set active so on clicking on the tab for this view you see the first tab open and the first checkbox clicked.
So now when I click on the second checkbox nothing happens. What I'm trying to get is eventually all accordion panels that have a checkbox checked to be open in the main right hand panel, kind of like the multi:true view would be except only as the user selects it.
this is the function that is in the controller that will catch the action from the checkbox but it is at this point I'm not sure what method will open the accordion panel leaving the initial one open - unless it is unchecked.
Code:
checkedValueOne: function(chk){
//console.log("Made it!");
this.getHcm().show();
Code:
layout: {
// layout-specific configs go here
type: 'accordion',
titleCollapse: true,
animate: true,
reserveScrollbar:true,
autoScroll:true
// multi:true
},
items:[{
xtype:'hcm',
height:'100%'
},
hcm xtype is just a panel of a flex swf.
Code:
Ext.define('M.view.mission-control-hcm' ,{
extend: 'Ext.Panel',
alias : 'widget.hcm',
id:'hcm',
hideMode:'display',
title:'HCM',
height:'100%',
items:[{
items:[{
xtype:'flash',
url:'./lib/Terminal.swf'
}]
}]
});
Anyway any help would be appreciated.
Thanks!