radioButton 获取和选中
第一种:
var dataTypeGroup=Ext.getCmp('dataTypeGroup');
dataTypeGroup.setValue('销售数据');
第二种:
Ext.getDom('sellType').checked = true;
var datatype = Ext.getCmp('dataTypeGroup');
var r = datatype.getValue();
//关键
var value = r.inputValue;
Ext调用KindEditor
var are_fck = new Ext.form.TextArea({
id: "MyFck",
name: 'MyFck',
listeners: {
"render": function (f) {
var K = KindEditor;
K.create('#MyFck', {
uploadJson: '../../Ext/kindeditor/asp.net/upload_json.ashx',
height: '600px',
width: '800px'
});
}
}
});
Ext禁用grid刷新
Ext.PagingToolbar1 = Ext.extend(Ext.PagingToolbar, { doRefresh:function(){ return false; }});
Ext.reg('pagingtoolbar1', Ext.PagingToolbar1);