PDA

View Full Version : Cell containing other panels



altav
30 Nov 2011, 9:17 AM
Hi
I have a problem with the table layout. I have 3 panels defined seperately as Panel1, panel2 and panel3. I want to put these in a table layout. This works fine when i have the table defined with 2 columns and the items defined as:
items: [
panel1, panel2, panel3
]

Now i want panel1 to have a colspan of 2. How do I define this, I've tried
items: [ {
panel1,
colspan: 2
} ,
panel2,
panel3
]

but this doesn't work, how would i define that?

mitchellsimoens
30 Nov 2011, 9:24 AM
You have to add the colspan config when you are creating the panel.