PDA

View Full Version : Using Form layout (columns, fieldsets, etc.) to lay out BoxComponents



pianoroy
19 Sep 2007, 9:39 PM
Hello,

I have a project to lay out about 20 BoxComponents (not form fields) on a page. I would rather not have to write up a lot of markup and CSS, so I'm wondering: Is it possible to use the Form methods (such as column, fieldset, container) to lay out BoxComponents that are not instances of Ext.form.Field? Or is there another way?

Thanks so much, I really appreciate this community.
-Roy

pianoroy
20 Sep 2007, 8:27 AM
I'm going to try and get this done today. Thoughts, anyone?

brian.moeskau
20 Sep 2007, 8:54 AM
In 1.1, the Form layout functionality is rather form-specific. The add method internally checks for the property isFormField to be on any items being added, so I don't think generic BoxComponents would work. In 2.0, there are a variety of generic layout managers built expressly for the purpose that you need, but in 1.1 it's going to be a challenge.