delphi 中的 cxgrid运用当中 EXCEL合并形式
来源:互联网 发布:sql语句distinct缺点 编辑:程序博客网 时间:2024/05/22 08:25
tvC := myTV.CreateColumn;
tvC.Name :=cxHopeGridName+'_Col_'+dsTemp.FieldByName('ColunmeName').AsString;
if(dsTemp.FieldByName('CellMerging').AsString='1') then
begin
tvC.Options.CellMerging:=True;//这个是关键 启用合并功能 不然即使有合同方法是不会触发的
tvC.OnCompareRowValuesForCellMerging:=CompareRowValuesForCellMerging;
end;
procedure THopeComGrid.CompareRowValuesForCellMerging(Sender: TcxGridColumn; ARow1: TcxGridDataRow;
AProperties1: TcxCustomEditProperties; const AValue1: Variant;
ARow2: TcxGridDataRow; AProperties2: TcxCustomEditProperties;
const AValue2: Variant; var AAreEqual: Boolean);
begin
if(AValue1=AValue2) then
AAreEqual := True
else
AAreEqual := False;
end;
- delphi 中的 cxgrid运用当中 EXCEL合并形式
- CxGrid导出到Excel(Delphi)
- delphi excel 单元格合并
- delphi利用ADO读取Excel 显示在cxgrid
- Delphi中的观察者模式运用
- cxgrid列合并
- cxgrid 单元格合并
- delphi cxgrid 使用方法
- delphi cxgrid 使用方法
- delphi——cxGrid
- delphi cxgrid 使用方法
- delphi 2010 cxgrid汉化
- delphi 7 cxgrid 导出
- delphi cxgrid 使用方法
- delphi CxGrid使用小结
- Delphi CxGrid用法详解
- Delphi 转EXCEL 合并单元格解决方案
- cxGrid导出Excel
- 谷歌官方建议笔记——性能
- Oracle:让PL/SQL Developer记住登陆密码
- 气候变迁给社会带来什么变化?
- ppt用什么方法可以转换成pdf
- Display tag library 1.2
- delphi 中的 cxgrid运用当中 EXCEL合并形式
- 《数学之美(第二版)》(四)
- 中国特色的流程需求
- Step into Kotlin - 12 - Object 与枚举
- HDU 1241 Oil Deposits
- Quick小白书系列(二)创建自己的项目并做点有意思的小内容
- 悟空学Linux专栏----第27篇
- 未完的歌
- EASY_SIZE使用