Skip to main content

onCustomValueDelete

Last updated 27/07/2026

Definition

is a host callback invoked by
DimensionIQWidget
when an existing custom value has been deleted within the widget and the host application must remove the custom value from its persistent storage.

Once processing is complete, please refer to the

onResponse
contract in the Widget Callback Introduction.

This callback ensures the widget and the host application remain synchronized regarding the custom value's deletion state.

Function Signature

TypeScript
Function Signature
onCustomValueDelete: (
customValue: DIQ_CustomValue,
onResponse: (result: DIQ_Result) => void
) => void;

Callback Parameters

customvalue
Type: DIQ_CustomValue
Description: The

object that was deleted from the widget.

onResponse
Type: (result: DIQ_Result) => void
Description: Callback function that must be called by the host to complete the operation.

Examples

onCustomValueDelete