onDimensionUpdate
Definition
onDimensionUpdate is a host callback invoked by DimensionIQWidget when
a user modifies a dimension in the widget and the host application must handle it's persistent storage.
The host application is responsible for updating the provided DIQ_Dimension record.
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 updated.
Function Signature
Function Signature
onDimensionUpdate: (
dimension: DIQ_Dimension,
onResponse: (result: DIQ_Result) => void
) => void;
Callback Parameters
dimension
Type: DIQ_Dimension
Description: The DIQ_Dimension object that has been modified in the widget.
onResponse
Type: (result: DIQ_Result) => void
Description: Callback function that must be called by the host to complete the operation.
Examples
onDimensionUpdate