当前位置:网站首页>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;
边栏推荐
- The second round of mesa
- Differences among bio, NiO and AIO
- leetcode743. Network latency (medium, Dijkstra)
- [official document summary] writing standards for academic dissertations of National University of science and technology
- What is solid angle
- 深度学习调参技巧详解
- Stm32 3*3 matrix key (register version)
- Workspace for ROS
- Shell command notes
- #pragma comment(lib,“urlmon.lib“)
猜你喜欢

Summary of various installation methods of Lab View

Sliding window summary of TCP connections

Page optimization - Notes

TensorFlow2的Conv1D, Conv2D,Conv3D机器对应的MaxPooling详解

Detailed explanation of maxpooling corresponding to conv1d, conv2d and conv3d machines of tensorflow2

Should the audience choose observation mode or positioning mode?

三、上传织物图片至SQL Server并提供name进行展示织物照片
![[MathType] use MathType to output latex style formula](/img/46/ac2041fbc2eb90474e2e2d7d1b0a40.png)
[MathType] use MathType to output latex style formula

【MathType】利用MathType输出LaTex样式的公式

Detailed understanding of white noise
随机推荐
What is the path field—— Competitive advertising
移动IPv6光猫登录的一般ip地址账号与密码,移动光猫变桥接模式
Database query user mailbox
什么是立体角
csdn涨薪技术之Jmeter接口测试数据库断言的实现与设计
Delphi7 compressed pictures (BMP, JPG, PNG)
Traversal of binary tree - first order traversal, middle order traversal, and second order traversal
Copy (copy) constructors and assignment overloaded operators=
Plumber game
Quickly set the computer to turn off automatically
六、出库管理功能的实现
On February 26, 2022, the latest news of national oil price adjustment today
MySQL connection query
Design of distributed game server
白噪声的详细理解
DFS and BFS notes (II): depth first search (implemented in C language)
Detailed explanation of deep learning parameter adjustment skills
MySQL ---- where后使用字段别名
Set and array conversion, list, array
如何利用您的自有数据来实现营销目标?