VirtualDataTable.CreateState Method
Creates a VirtualDataSetState to be used in a report. Make sure you override this method on your derived classes and point it to the correct VirtualDataSet descendant.
Syntax
Namespace: FlexCel.Report
public abstract VirtualDataTableState CreateState(String sort, TMasterDetailLink[] masterDetailLinks, TSplitLink splitLink)
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
sort | String | A string showing how to sort this dataset. This string might be null, empty, or whatever the user wrote on the config sheet. | |
masterDetailLinks | TMasterDetailLink[] | A list of the the master datatables and relation fields on the bands outside this one. You can pass this parameter to the VirtualDataSetState so it can create indexes on the required fields. This parameter will be an empty array if no master detail relationships apply to the VirtualDataSetState, but it will not be null. |
|
splitLink | TSplitLink | A link to a parent Split datasource with the number of records to split, or null if there is no parent split datasource. |