Skip to main content

onDimensionsUpdate

Last updated 12/05/2026

Definition

is a host callback invoked by
DimensionIQWidget
when one or more dimensions are updated within the widget and the host application must handle their persistent update.

The host application is responsible for updating the provided

records in its 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 when dimensions are modified.

Function Signature

TypeScript
Function Signature
onDimensionsUpdate: (
dimensions: Array<DIQ_Dimension>,
onResponse: (result: DIQ_Result) => void
) => void;

Callback Parameters

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

objects containing the updated dimension data.

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

Examples

onDimensionsUpdate