width : 250,
renderer : function(v,x,r) {
+ Roo.log(x);
+ if (v.length) {
+ Roo.log("try fill");
+ var cm = _this.grid.colModel;
+ Roo.log(this);
+ var ci = cm.getColumnByDataIndex(this.name);
+ Roo.log(ci);
+
+ var ce = cm.getCellEditor(ci);
+ Roo.log(ce);
+ ce.field.setValue(v);
+ return String.format('{0}',ce.field.el.value);
+
+
+
+ }
+
return String.format('{0}', r.data.freq_hour_name || v);
},
{
xtype: 'Button',
xns: Roo,
+ listeners : {
+ click : function (_self, e)
+ {
+ _this.dialog.hide();
+ }
+ },
text : "Done"
}
]