随笔 - 127  文章 - 0  评论 - 1  阅读 - 40606
10 2020 档案
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) 推荐(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) 推荐(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) 推荐(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) 推荐(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) 推荐(0) 编辑

< 2025年2月 >
26 27 28 29 30 31 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 1
2 3 4 5 6 7 8

点击右上角即可分享
微信分享提示