PDA

View Full Version : Multiple region: "north" panels



Northrog
18 Aug 2008, 5:50 AM
Hi,

I want to group several panels in one region of the Window.

So 2 Panels shall be shown in the northern area of that Window, but if you use region: "north" for both, some weird errors occur.

Is there any way to Group these Panels?

Condor
18 Aug 2008, 5:55 AM
You can't have more than one 'north' region in one layout, but you can nest layouts, e.g.


layout: 'border',
items: [{
region: 'north',
layout: 'border',
items: [{
region: 'west',
width: 200,
title: 'Panel 1'
},{
region: 'center',
title: 'Panel 2'
}]
},{
region: 'center',
title: 'Center'
}]

Northrog
18 Aug 2008, 6:08 AM
Ah thanks that works fine

mjlecomte
18 Aug 2008, 6:12 AM
Or maybe stick a column or table layout in that north region?