TDataSetAdapterCancelRowAction = class(TCustomDataSetAdapterRowAction)
class PASCALIMPLEMENTATION TDataSetAdapterCancelRowAction : public TCustomDataSetAdapterRowAction
TDataSetAdapterBrowseRowAction cancels edits made in an HTML form and changes the dataset adapter to browse mode.
Add TDataSetAdapterBrowseRowAction to a dataset adapter (TDataSetAdapter) to support HTML forms that let users cancel the edits that they make and change to read-only viewing of database data. When this action is executed, it ignores any new field values and returns the parent dataset adapter to its default mode. It then positions the dataset on the record specified by the current request object.
Server-side script addresses this action as the 'Cancel' action of the parent adapter. By default, this action is visible (included in HTML forms) only when the parent adapter is in insert or edit mode. You can, however, cause this action to be included when the dataset is in other modes by changing the value of its ActionModes property. If the action is visible when the dataset is in browse mode, the control for this action appears disabled.
This action is included by default when the adapter is used to build forms that represent a single database record.