missing something simple here:
west_panel is an accordion layout with a couple panels on it on the west side of my viewport. I'm trying to add this panel to it and it shows up under it... why?
var mypanel = new Ext.Panel({
collapsible: true,
collapsed: true, ccset42_all.html:: Creating a JSF Page and Adding a Panel Stretch Layout .. it must be used inside of a Panel Accordion or a Panel Tabbed to contain a group of children http://www.oracle.com/technology/products/jdev/11/cuecards111/adf_set_42/ccset42_ALL.htmlHOME | Accordion Brag Book:: Use your digital pictures to create a Accordion Brag Book. Fall Themed Layout Make a small hole in the front panel, and thread a long strand of ribbon through it. Add your photos. Attach the photos with photo-safe glue, http://www.kodak.com/eknec/PageQuerier.jhtml?pq-path=11227HOME |
border: false,
autoScroll: true,
renderTo: 'west-panel',
title: 'My Title',
html: 'Item stuff in here. ', Flashloaded - advancedTree - Tree Flash, Tree Component Flash:: This example shows how the tree can be adapted to work as an accordion menu. Externally updatabale through XML; Dynamically add, edit, delete and drag nodes Full control over graphics, styles and layout; Specify graphics per node type Screenshot of the Component Inspector panel in Flash. http://www.flashloaded.com/flashcomponents/advancedtree/HOME | TDG innovations LLC » 2009 » February:: The absolute layout 4.6. Making components Fit 4.7. The accordion layout Adding a form panel to the east side 13.2.4. Tying in the form panel with a tab http://tdg-i.com/date/2009/02HOME |
iconCls: 'settings',
trigger: 'title'
});
that worked... i was trying all kinds of stuff but was just a bit off... still getting use to this stuff.
renderTo specifies the HTML element to render panel contents to. (Not what you're after).
Try this instead:
var wp = Ext.getCmp('west-panel'); //the ID of your accordian layout
wp.add(myPanel);
wp.doLayout();
Get Smart About Monitoring Virtual Machines
Microsoft Gets Ex-Streamly Cozy with U.K.'s MediaWave
|