USEGEAR

导航

再说cxGrid主从表相关

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

注意设定参数后,最后active数据集。这里有个顺序问题,否则会增加随机新

 

 

回到原点看随机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:

 

posted on 2019-11-30 18:30  USEGEAR  阅读(541)  评论(0编辑  收藏  举报