摘要: 1、对TcxGrid创建多个Level 2、对TcxGrid的TcxGridLevelOptions的TabsForEmptyDetail设置为True 3、再设置DetailTabsPosition的方向为:dtpTop或则dtpLeft 4、cxGrid的rootleveloptions属性下的 阅读全文
posted @ 2019-01-07 21:28 Thenext 阅读(281) 评论(0) 推荐(0)
摘要: 1、select * from sys.dm_tran_locks或sp_LOCK 查看request_node 字段中为'X'(排他锁)或'IX'(意向排他锁)2、用sp_who2 + pid(进程ID) 查看进程的详细信息3、用dbcc inputbuffer(pid) 查看一起死锁的语句内容 阅读全文
posted @ 2019-01-07 21:18 Thenext 阅读(1099) 评论(0) 推荐(0)
摘要: 1 var 2 GridDBTableView:TcxGridDBTableView; 3 ColIndex:Integer; 4 FieldName:string; 5 begin 6 GridDBTableView := TcxGridDBTableView(TcxGridSite(TcxButtonEdit(Sender).Parent).ViewInfo.Grid... 阅读全文
posted @ 2019-01-07 21:16 Thenext 阅读(961) 评论(0) 推荐(0)
摘要: cxGridDBTableView1.DataController.Summary.FooterSummaryValues[4]; 阅读全文
posted @ 2019-01-07 21:13 Thenext 阅读(170) 评论(0) 推荐(0)