PDA

View Full Version : HORIZONTAL FORM



dosuper
14 Mar 2011, 11:37 AM
Hi,
I trying to do a form with Ext but i dont know how to do it but in a horizontal view.

I attach a image with a form in html i want to do something similar with ext, i know how to do it but in a vertical way.25133

tomalex0
14 Mar 2011, 8:16 PM
Try something like this

Form with layout as hbox, which have two panel items and specify form elements in each panel.


xtype:'form'
layout:'hbox',
items:[{
xtype:'panel',
flex : 1,
items:[{
your form items
}]
},{
xtype:'panel',
flex : 1,
items:[{
your form items
}]
}]