X-Git-Url: http://git.roojs.org/?p=roojs1;a=blobdiff_plain;f=docs%2Fsrc%2FRoo_form_Column.js.html;fp=docs%2Fsrc%2FRoo_form_Column.js.html;h=8f16da1e7e73e90409d93a587dfe36957cc11432;hp=0000000000000000000000000000000000000000;hb=47c96bffe20aebba2f6d3d95a6428931e0b3a2da;hpb=fc82bff3902f6b9018e9efb96c6ea168fb4f5d7a diff --git a/docs/src/Roo_form_Column.js.html b/docs/src/Roo_form_Column.js.html new file mode 100644 index 0000000000..8f16da1e7e --- /dev/null +++ b/docs/src/Roo_form_Column.js.html @@ -0,0 +1,35 @@ +Roo/form/Column.js +/** + * @class Roo.form.Column + * @extends Roo.form.Layout + * @children Roo.form.Row Roo.form.Field Roo.Button Roo.form.TextItem Roo.form.FieldSet + * Creates a column container for layout and rendering of fields in an {@link Roo.form.Form}. + * @constructor + * @param {Object} config Configuration options + */ +Roo.form.Column = function(config){ + Roo.form.Column.superclass.constructor.call(this, config); +}; + +Roo.extend(Roo.form.Column, Roo.form.Layout, { + /** + * @cfg {Number/String} width + * The fixed width of the column in pixels or CSS value (defaults to "auto") + */ + /** + * @cfg {String/Object} autoCreate + * A DomHelper element spec used to autocreate the column (defaults to {tag: 'div', cls: 'x-form-ct x-form-column'}) + */ + + // private + defaultAutoCreate : {tag: 'div', cls: 'x-form-ct x-form-column'}, + + // private + onRender : function(ct, position){ + Roo.form.Column.superclass.onRender.call(this, ct, position); + if(this.width){ + this.el.setWidth(this.width); + } + } +}); + \ No newline at end of file