VirtualDataTableState.MoveMasterRecord Method
This method will be called each time that the master datasource moves its position. Use it to filter the data returned if this is used on a master-detail relationship.
Remarks
You do not need to implement this method if you are not using Master-Detail or Split relationships.
Syntax
Namespace: FlexCel.Report
public virtual void MoveMasterRecord(TMasterDetailLink[] masterDetailLinks, TSplitLink splitLink)
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
masterDetailLinks | TMasterDetailLink[] | List of all the master tables that are related to this one. If there are no parents on this VirtualDataTableState, this will be an empty array, not null. Use it on GetValue(Int32) to filter the data and then return only the records that satisfy the master-detail relationships on GetValue(Int32) |
|
splitLink | TSplitLink | Parent Split table if this dataset is on a Split relationship, or null if there is none. Use it to know how many records you should retun on RowCount. Note that a table might be on Master-Detail relationship *and* split relationship. In this case you need to first filter the records that are on the master detail relationship, and then apply the split to them. |