使用spket的snippets加快ext开发:
常用模板:
列布局
{layout:'column',items: [{columnWidth:.5,layout: 'form',items:[
]}
,{columnWidth:.5,layout: 'form',items:[
]}]}
fieldset
{xtype:"fieldset",title:"${标题}",collapsible:true,split:true,collapseMode:'mini',region:'north',anchor:'100%',lautoScroll:true,labelWidth:70,autoHeight:true,
items:[
]
}
弹出式警告
Ext.Msg.alert("提示", "${内容}!");
滑出式警告
Ext.example.msg('提示',${内容});
文本域
{xtype:'textfield',fieldLabel:'${标签}',name:'${标签名称}',allowBlank:false,maxLength:${50},anchor:'100%'}
主表下拉框
,{xtype:'cboGrid',fieldLabel:'${标签名称}',name:'${表单名称}',hiddenName:'${表单标识名称}',url:'${extlist方法地址}',gvalueField:'${值列名}',gdisplayField:'${显示列名}',allowBlank:true,pageSize:10,editable:true,anchor:'90%'}
更新中....