PropertyChanged: function (sender, args);
sender. Event source.
args. Event information.
The PropertyChanged event is fired on changing selection in controls.
To execute this example, the HTML page must contain the ReportBox component named reportBox (see Example of the ReportBox Component Layout). The source regular report must contain at least two controls. The second control must be a drop-down menu listing dimension elements (an instance of the DimComboControlView class). Multiple element selection must be available for this menu.
reportBox.getDataView().getControlBar().PropertyChanged.add(function (sender, args) { var ctrlV = reportBox.getDataView().getControlBar().getControl(2); var ctrl = ctrlV.getControl(); ctrl.getTreeView().setMultiSelect(false); });
After executing the example on changing selection in one of the controls, multiple selection is disabled for the second control.
See also: