再说cxGrid主从表相关

Posted usegear

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了再说cxGrid主从表相关相关的知识,希望对你有一定的参考价值。

查了那么多叽叽歪歪的资料:masterView的key,从表key和detailkey以及从表需要排序。

技术图片

 

 

回到原点看随机help:

说重要的:

Grid Mode: Master-Detail

ExpressQuantumGrid provides a special data loading mode called grid mode, which loads only a fraction of the dataset records at a time, thus improving performance for huge datasets. This document describes how to set up a master-detail relationship between datasets in grid mode.
Note:   if you enable grid mode for a master/detail relationship, both Views must be in grid mode, else data will not be displayed correctly.
To represent a master-detail relationship between storages in ExpressQuantumGrid, you need to create a hierarchical structure of grid levels and Views similar to the one shown in the following image:

技术图片

 

以上是关于再说cxGrid主从表相关的主要内容,如果未能解决你的问题,请参考以下文章

Delphi cxGrid表对行的操作

delphi cxgrid 控件如可实现展开一行记录看其明细

cxGrid 锁定一行,让该行数据不能编辑

DELPHI里使用CXGRID给行加序号

CxGrid 改变某行或单元格的颜色

cxgrid学习