当前位置:网站首页>Delphi implements adding a column of serial number to the CXGRID list
Delphi implements adding a column of serial number to the CXGRID list
2022-06-13 01:43:00 【Guoguo】
stay Cxgrid There is OnGetDisplayText() event , This time can be completed in Cxgrid Add a column number to the table , The sequence number in this column will not change according to the sorting change .
procedure TForm1.cxGrid1DBTableView1Column1GetDisplayText(
Sender: TcxCustomGridTableItem; ARecord: TcxCustomGridRecord;
var AText: string);
begin
atext:=inttostr(arecord.Index);
end;
stay Cxgrid There is OnGetDataText() event , This time can be completed in Cxgrid Add a column number to the table , The sequence number of this column will change according to the sorting change
procedure TForm1.cxGrid1DBTableView1Column1GetDataText(
Sender: TcxCustomGridTableItem; ARecordIndex: Integer; var AText: string);
begin
atext:=inttostr(arecord.Index);
end;
边栏推荐
- Phaser3 load
- [learn FPGA programming from scratch -22]: Advanced chapter - Architecture - Design and modeling of FPGA internal hardware circuit
- [official document summary] writing standards for academic dissertations of National University of science and technology
- 六、出库管理功能的实现
- Spit bubbles (stack)
- 服务器安装jupyterlab以及远程登录配置
- 受众群体应该选择观察模式还是定位模式?
- Wsl2 + vcxsrv + opengl3.3 configuration
- H5 open the app. If the app is not downloaded, jump to the download page. If the app has been downloaded, wake up the app
- Go JWT learning summary
猜你喜欢
Camera model_
白噪声的详细理解
How to solve the problems when using TV focusable to package APK in uni app
机器学习基础 SVM(支持向量机)
Go JWT learning summary
Summary of various installation methods of Lab View
Machine learning basic SVM (support vector machine)
leetcode743. Network latency (medium, Dijkstra)
[wsl2]wsl2 migrate virtual disk file ext4 vhdx
Numpy multidimensional array transpose transpose
随机推荐
30: Kakfa simulates JSON data generation and transmission
[Andoid][踩坑]CTS 11_r3开始出现的testBootClassPathAndSystemServerClasspath_nonDuplicateClasses FAIL问题分析
Tweets movement description and chart display
【官方文件汇总】国科大学位论文撰写规范
Note: common gadgets in project architecture
Large end storage and small end storage
ng-tv-focusable
Jeux de plombiers
[wsl2]wsl2 migrate virtual disk file ext4 vhdx
Crypto JS reports uglifyjs error
Should the audience choose observation mode or positioning mode?
白噪声的详细理解
6、 Implementation of warehouse out management function
How does Google's audience work?
Use koa to mock data and set cross domain issues
Delphi7 compressed pictures (BMP, JPG, PNG)
深度学习调参技巧详解
项目实训(十七)---个人工作总结
MySQL ---- where后使用字段别名
Project training (XVII) -- personal work summary