JS 图片旋转
摘要:var pr=0; $('.strp-content-element').click(function(){pr=(pr+90)%360; this.style.transform = 'rotate('+pr+'deg) scale(.8)';});
阅读全文
posted @
2020-10-31 12:35
wakaka_wka
阅读(147)
推荐(0) 编辑
GridPanel celldblclick
摘要:gc.on('celldblclick', function(item,td,cellIndex,record,tr,rowIndex,e) { let fed=item.ownerGrid.getColumns()[cellIndex].dataIndex;//do what u want });
阅读全文
posted @
2020-10-30 15:59
wakaka_wka
阅读(148)
推荐(0) 编辑
gridpanel data load handler
摘要:gc.getStore().on('load',function(store,records,successful,operation){ //do what u want }); make use of the { single: true } property when you just nee
阅读全文
posted @
2020-10-30 11:31
wakaka_wka
阅读(94)
推荐(0) 编辑
获取所有包含指定字段的所有表
摘要:with t1 as(Select Name as TblName,Object_Id(Name)TblObjId FROM SysObjects Where XType='U' ),t2 as(select a.*,b.name as ColName from t1 a join SysColum
阅读全文
posted @
2020-10-27 16:57
wakaka_wka
阅读(84)
推荐(0) 编辑
GridPanel TopBar Dynamic add button
摘要:gc.down('toolbar').add({xtype:'button',text:'NewButton',iconCls:'icon-tableadd',itemId:'btndn',handler:function(){debugger;}}); gc.down('toolbar').rem
阅读全文
posted @
2020-10-19 11:05
wakaka_wka
阅读(70)
推荐(0) 编辑