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=1cebb6d16aa3004663d63bdbc4d604fbcd8f2f5d;hpb=10db261e7d6b23c055f07797e9afef70ffed408a 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 @@ +
+/**
+ * @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