Sha256: 8d9d5d4c0edd616e45e2c5243b3f83f94a9cdfdf8b66ef510b0d6145ab401aad
Contents?: true
Size: 979 Bytes
Versions: 2
Compression:
Stored size: 979 Bytes
Contents
Ext.define('FastUI.view.vfield.VRadio',{ extend: 'Ext.form.RadioGroup', valueObject: {}, winCtx:{}, winId:0, rest:{}, width:300, initComponent:function(){ this.fieldLabel = this.getFValue('title'); this.disabled = this.getFValue('readonly'); this.allowBlank = true; this.items = this.getFFields(); this.callParent(); }, getFValue:function (key) { return this.valueObject[key] || ''; }, getFFields:function(){ var fields = []; var store = FastUI.store.MListMgr.getStore(this.getFValue('name')); store.each(function(item, index, count) { fields.push({ name: this.rest.getTableName() + '[' + this.getFValue('name') + ']', boxLabel: item.data.title, inputValue: item.data.name, width:100 }); },this); return fields; } });
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
fastui-0.1.4 | app/assets/javascripts/fastui/app/view/vfield/VRadio.js |
fastui-0.1.3 | app/assets/javascripts/fastui/app/view/vfield/VRadio.js |