PDA

View Full Version : Flow Layout



jkamke
27 Jun 2008, 3:56 PM
var formflow = Ext.extend(Ext.layout.FormLayout, {
fieldTpl:new Ext.Template(
'<div style="float:left;" class="x-form-item {5}" tabIndex="-1">',
'<label for="{0}" style="{2}" class="x-form-item-label">{1}{4}</label>',
'<div class="x-form-element" id="x-form-el-{0}" style="{3}">',
'</div><div class="{6}"></div>',
'</div>')
});

Ext.Container.LAYOUTS['formflow'] = formflow;


This can be passed into the layout of an Ext.form.FormPanel
However the float attribute is not working for IE.