Back to Devexpress

TcxCustomDataController Events

vcl-cxcustomdata-dot-tcxcustomdatacontroller-dot-underscore-events.md

latest4.1 KB
Original Source

TcxCustomDataController Events

The base class for all data controllers that manage data from different sources.

NameDescription
OnAfterCancelOccurs after canceling the modifications to the active record if working in unbound or provider mode.
OnAfterDeleteAllows you to perform specific actions after the data controller deletes a record.
OnAfterInsertOccurs after inserting a new record if working in unbound or provider mode.
OnAfterPostOccurs after saving changes made to a record if working in unbound or provider mode.
OnBeforeCancelOccurs before canceling modifications to the active record if working in unbound or provider mode.
OnBeforeDeleteAllows you to perform specific actions when the data controller is about to delete a record.
OnBeforeImmediatePost
OnBeforeInsertOccurs before inserting a new record if working in unbound or provider mode.
OnBeforePostOccurs before saving changes made to the modified record if working in unbound or provider mode.
OnCanSelectRecord protected
OnCompareAllows you to implement a custom sorting algorithm.
OnDataChangedOccurs on changing data provided by the data controller.
OnDetailCollapsedOccurs after the details of a particular master record have been collapsed.
OnDetailCollapsingOccurs when the details of a particular master record are about to be collapsed.
OnDetailExpandedOccurs after the details of a particular master record have been expanded.
OnDetailExpandingOccurs when the details of a particular master record are about to be expanded.
OnFilterRecordAllows you to implement a custom data filtering algorithm.
OnFindCriteriaBeforeChangeEnables you to identify and track changes made to the data search criteria before they take effect on the data controller.
OnFindCriteriaChangedEnables you to identify and track all data search criteria changes applied to the data controller.
OnGroupingChangedOccurs after data grouping is changed.
OnNewRecordAllows you to perform actions when the data controller is about to focus a new inserted record.
OnRecordChangedFires in response to data changes.
OnSortingChangedAllows you to respond to sorting changes.
OnUpdateControl

See Also

TcxCustomDataController Class

TcxCustomDataController Members

cxCustomData Unit