-
23 Jan 2013 4:41 AM #1
Create Two Lists in a Container
Create Two Lists in a Container
Hi,
I want to create a container (view) with two lists, and had thought of something with this structure:
Structure:
- Ext.Container
- Ext.Container (scroll: vertical)
- Ext.Panel (width: 50%)
- Ext.List
- Ext.Panel (width: 50%)
- Ext.List
- Ext.Panel (width: 50%)
- Ext.Container (scroll: vertical)
Someone can give me some help, I've tried several ways and got nothing so far!
Thanks!
Best Regards,
Hugo Trigo
- Ext.Container
-
23 Jan 2013 11:36 AM #2
Add a top level container, configure the layout to "hbox".
Add two lists to the container, set their 'flex' property to 1.Aaron Conran
@aconran
Sencha Architect Development Team
-
24 Jan 2013 1:11 AM #3
Hi,
Thanks however I managed to solve, now I have another problem.
I want to remove the possibility of making the scroll lists and only do the panel / container that has the two lists to move into the two simultaneous!
Any ideas?
Thanks!
Best Regards,
Hugo Trigo
-
24 Jan 2013 12:54 PM #4
So you want two lists side by side but they will scroll as if they were one? Are they guaranteed to be equal height?
Aaron Conran
@aconran
Sencha Architect Development Team


Reply With Quote