Skip to main content

TcxCustomDataController Events

The base class for all data controllers that manage data from different sources.
Name Description
OnAfterCancel Occurs after canceling the modifications to the active record if working in unbound or provider mode.
OnAfterDelete Allows you to perform specific actions after the data controller deletes a record.
OnAfterInsert Occurs after inserting a new record if working in unbound or provider mode.
OnAfterPost Occurs after saving changes made to a record if working in unbound or provider mode.
OnBeforeCancel Occurs before canceling modifications to the active record if working in unbound or provider mode.
OnBeforeDelete Allows you to perform specific actions when the data controller is about to delete a record.
OnBeforeImmediatePost
OnBeforeInsert Occurs before inserting a new record if working in unbound or provider mode.
OnBeforePost Occurs before saving changes made to the modified record if working in unbound or provider mode.
OnCanSelectRecord protected
OnCompare Allows you to implement a custom sorting algorithm.
OnDataChanged Occurs on changing data provided by the data controller.
OnDetailCollapsed Occurs after the details of a particular master record have been collapsed.
OnDetailCollapsing Occurs when the details of a particular master record are about to be collapsed.
OnDetailExpanded Occurs after the details of a particular master record have been expanded.
OnDetailExpanding Occurs when the details of a particular master record are about to be expanded.
OnFilterRecord Fires when the data controller is about to perform internal filtering.
OnFindCriteriaBeforeChange Enables you to identify and track changes made to the data search criteria before they take effect on the data controller.
OnFindCriteriaChanged Enables you to identify and track all data search criteria changes applied to the data controller.
OnGroupingChanged Occurs after data grouping is changed.
OnNewRecord Allows you to perform actions when the data controller is about to focus a new inserted record.
OnRecordChanged Fires in response to data changes.
OnSortingChanged Enables you to perform specific actions after data sorting has changed.
OnUpdateControl
See Also