-
1 Oct 2010 4:09 PM #1
panel with border layout only shows title bar
panel with border layout only shows title bar
Hi guys, I'm really hitting my head on the wall for this one.
Eventually I want a two section border layout, with a form in "west" and a grid in "center". That wasnt working, so I simplified things a lot:
But, no matter what I do, collapsable or not, the panel is empty. It just shows the title bar. I don't have a clue what is wrong.Code:filter_panel = { title: 'filters', region: 'west', width: 150, html: "<h2> FILTERS! </h2>", } center_panel={ title: 'Center Panel', region: 'center', html: "<h2> GRID! </h2>", // items: userGrid, } panel = new Ext.Panel({ renderTo: 'user-grid', frame: false, title: "Publish Runs", layout: 'border', collapsible: true, autoWidth: true, // autoHeight: true, height: 800, defaults: { collapsible: true, split: true, }, items: [filter_panel, center_panel ] });
Thanks!
-
1 Oct 2010 5:11 PM #2
Code:filter_panel = { title: 'filters', region: 'west', width: 150, html: "<h2> FILTERS! </h2>" } center_panel={ title: 'Center Panel', region: 'center', html: "<h2> GRID! </h2>" } panel = new Ext.Panel({ renderTo: document.body, frame: false, title: "Publish Runs", layout: 'border', collapsible: true, autoWidth: true, // autoHeight: true, height: 800, defaults: { collapsible: true, split: true }, items: [filter_panel, center_panel ] });
Similar Threads
-
Title on Collapsed Panel in Border Layout
By singha in forum Ext 3.x: Help & DiscussionReplies: 7Last Post: 8 Sep 2011, 11:04 PM -
[2.2.1]Title bar does not collapse in border layout
By jbjorgen in forum Ext 2.x: BugsReplies: 8Last Post: 5 May 2009, 2:38 AM -
Removing Title Bar from Border Layout Regions
By Eric24 in forum Ext 2.x: Help & DiscussionReplies: 4Last Post: 14 May 2008, 3:17 PM -
'north' position in nested layout always shows blue title bar
By bwextjs in forum Ext 1.x: Help & DiscussionReplies: 3Last Post: 2 Jul 2007, 4:33 PM


Reply With Quote