ParamView.ParamChanged

Syntax

ParamChanged: function (sender, args)

Parameters

sender. Event source.

args. Event information.

Description

The ParamChanged event occurs on changing parameter value.

Example

To execute the example, the page must contain a control for express report parameter named param (see ParamView Constructor). Add a handler for the ParamChanged event and change parameter value:
 

var inst = param.getInstance();//get a basic element for parameter (for example, if parameter is a string one, PP.Ui.TextBox)

inst.setValue("New value");

param.ParamChanged.add(function (sender, args) {

   console.log(args.NewText)//the NewText argument is relevant if the getInstance method returns the class PP.Ui.TextBox

});

After executing the example a new value is set for parameter and shown in the browser console.

See also:

ParamView