Skip to main content

onDimensionsDelete

Last updated 9/03/2026

Definition

is a host callback invoked by
DimensionIQWidget
when a user deletes one or more dimensions in the widget and the host application must handle it's persistent removal.

The host application is responsible for deleting the provided

records.

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 when dimensions are deleted.

Function Signature

TypeScript
Function Signature
onDimensionsDelete: (
dimensions: DIQ_Dimension[],
onResponse: (result: DIQ_Result) => void
) => void;

Callback Parameters

dimensions
Type: Array<DIQ_Dimension>
Description: An array of

objects to be deleted.

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

Examples

onDimensionsDelete