Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxCustomDataController.UpdateItems(Boolean) Method

Forces the current data controller to recreate items, and reload their values based on the bound data source.

#Declaration

Delphi
procedure UpdateItems(AUpdateFields: Boolean); virtual;

#Parameters

Name Type
AUpdateFields Boolean

#Remarks

By default, a data controller receives change notifications from the bound data source, and automatically reloads all the records to update its internal data store. However, this reload doesn’t happen if:

In these instances, you have to manually call the UpdateItems method to update items in the internal data store.

To reflect the data source’s structure changes in the internal store (for instance, when data fields are created, deleted or their types are modified), pass True as the AUpdateFields parameter. Otherwise, you can pass False to avoid structure change verifications.

See Also