SFU.subscribeToControlParameters()
- Last UpdatedJun 25, 2024
- 1 minute read
Use subscribeToControlParameters() method to the subscribe to the parameters of a control so that the callBack Function is called when a value of the parameter control changes.
Syntax
SFU.subscribeToControlParameters(control, parameterCollection, functionToBeCalled)
Parameters
|
Parameter |
Description |
|---|---|
|
control |
Control |
|
parameterCollection |
Collection of parameters for parameterized Data Lookup |
|
functionToBeCalled |
Function to be called when the value of the parameter control changes |
Return Value
None
Example
If a custom control uses Lookup Binding, use this method for subscribing to changes in value of the Parameter control to call the callback function.
see the TreeView JS file corp.customControls.treeView.js for reference.