When in provider mode there is no way of updating the datacontroller at a row or cell level.
For example I have a list of Records (TRecord) that contains cells (TCell). When I update the TCell I have to call DataController.CustomDataSource.DataChanged; which in turn goes off an gets all the records from my list. This obviously has a performance impact.
Proposed Solution:
What I would like to be able to do is call something like DataController.CustomDataSource.RefreshRow passing in the index to the row of my internal list I have just updated. This will then call the GetValue on my TcxCustomDataSource for each cell. I would also like to call something like DataController.CustomDataSource.RefreshValue passing in the row of my internal list and the cell index to internal cell list.
For example:
FMyCustomDatasource.Records[iRecordIndex].Cells[0].Value = 'NewValue0';
FMyCustomDatasource.Records[iRecordIndex].Cells[1].Value = 'NewValue1';
FMyCustomDatasource.Records[iRecordIndex].Cells[2].Value = 'NewValue2';
tableView.DataController.CustomDataSource.RefreshRecord(iRecordIndex);
Another Example:
FMyCustomDatasource.Records[iRecordIndex].Cells[iCellIndex].Value = 'NewValue0';
tableView.DataController.CustomDataSource.RefreshValue(iRecordIndex, iCellIndex);
Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.
Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.