当前位置:网站首页>CXGRID keeps the original display position after refreshing the data
CXGRID keeps the original display position after refreshing the data
2022-06-13 01:43:00 【Guoguo】
cxgrid After refreshing the data, keep the original display position unchanged
var i,ti:integer;
begin
i:=cxGrid1DBTableView1.Controller.FocusedRowIndex; // Record the focus line number
ti:=cxGrid1DBTableView1.Controller.TopRowIndex; // Record top line number
Data sets .Active:=False;
Data sets .Active:=True;
try
cxGrid1DBTableView1.Controller.FocusedRowIndex:=i; // The focus line is positioned to the record value
cxGrid1DBTableView1.Controller.TopRowIndex:=ti; // Top line Navigate to the record value
except
end;
end;
DataController.RefreshExternalData; // Refresh the dataset
cxGridDBDataDefinitions;
TcxGridDBDataController(DataController).DataSet.Refresh;
边栏推荐
- Design of distributed game server
- MySQL performance optimization
- 【官方文件汇总】国科大学位论文撰写规范
- Startup, connection and stop of MySQL service
- Developer contributions amd Xilinx Chinese Forum sharing - wisdom of questioning
- About the proposed signature file migration to industry standard format pkcs12
- Transaction characteristics and isolation levels
- On February 26, 2022, the latest news of national oil price adjustment today
- Stack stack LIFO
- Reinstall opencv and step on the pit.
猜你喜欢

Run Presto under docker to access redis and Bi presentation

Network communication tcp/ip

Developer contributions amd Xilinx Chinese Forum sharing - wisdom of questioning

移动IPv6光猫登录的一般ip地址账号与密码,移动光猫变桥接模式

Plumber game

Set and array conversion, list, array

(no plug-in) summary of vim basic shortcut keys

四、入库管理功能的完善

Implementation and design of JMeter interface test database assertion for CSDN salary increase technology

Stack and queue practice (C language): Demon King's language
随机推荐
Installing pytorch geometric
Detailed explanation of deep learning parameter adjustment skills
谷歌的智能出价有几种?
csdn涨薪技术之Jmeter接口测试数据库断言的实现与设计
How many smart bids does Google have?
Copy (copy) constructors and assignment overloaded operators=
STM32 3*3矩阵按键(寄存器版本)
服务器安装jupyterlab以及远程登录配置
Matplotlib drawing Chinese garbled code
TensorFlow 2. X multi graphics card distributed training
Reinstall opencv and step on the pit.
Wildcard usage of go standard library FMT
How does Google's audience work?
What is Google plus large text ads? How to use it?
[learn FPGA programming from scratch -22]: Advanced chapter - Architecture - Design and modeling of FPGA internal hardware circuit
Logical operation bit operation
Page optimization - Notes
Uuid/guid introduction, generation rules and generation codes
Jeux de plombiers
My crawler learning notes