cxgrid 多选

OptionsBehavior.PullFocusing =True。

 

执行多选。

with cxGrid1DBTableView1 do
begin
for i := 0 to Controller.SelectedROwCount - 1 do
begin
Controller.FocusedRow := Controller.SelectedRows[i]; //这个是选择哪行。
GFDmem.Append();
GFDmem.CopyRecord(fdmtProducts); // 复制当前行
end;
end;

posted @   Thenext  阅读(226)  评论(0编辑  收藏  举报
点击右上角即可分享
微信分享提示