TcxGridDBChartView.DataController Property
Specifies the data controller for the data-aware View.
Declaration
property DataController: TcxGridDBChartDataController read; write;
Property Value
Type |
---|
TcxGridDBChartDataController |
Remarks
Use the DataController property to access the object which manages the View’s connection to a dataset. A data controller object implements the retrieval and posting of the data which corresponds to the View items (i.e. categories and series) and, applies sorting to them. You can use the DataController property to get direct access to the data displayed by the View. However, it’s recommended that you use the View’s Categories, Series or ViewData properties for these purposes since they provide a more convenient way in which to manage the data that is associated with the View.
Use the DataController.DataSource property to specify a TDataSet or its descendant which manages the View’s connection to a dataset. The other settings of the data controller specify the key fields for implementing master-detail relationships and the behavior options of the data controller.