Skip to main content

onVariableFolderDelete

Last updated 23/07/2026

Definition

is a host callback invoked by
DimensionIQWidget
when a variable folder has been deleted within the widget and the host application must remove the corresponding folder 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 variable folder's deletion state.

Function Signature

TypeScript
Function Signature
Function Signature
onVariableFolderDelete: (
folder: DIQ_VariableFolder,
onResponse: (result: DIQ_Result) => void
) => void;

Callback Parameters

folder
Type: DIQ_VariableFolder
Description: The

object that has been 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

onVariableFolderDelete