Skip to main content

TcxCustomDataController.DeleteFocused Method

Deletes the focused row in a data controller.

Declaration

procedure DeleteFocused; virtual;

Remarks

This method allows deleting both data and grouping rows. Deleting a group row will delete all rows belonging to its corresponding group.

The currently focused row is specified by the FocusedRowIndex property.

If multiple row selection is enabled, you can use the DeleteSelection method to delete all selected rows in a single operation.

See Also