setDimensionSettings(report, metadata, callback);
Report. PP.Exp.EaxAnalyzer. Express report instance.
Metadata. Object. Metadata.
Callback. PP.Delegate | Function. Callback function.
The setDimensionSettings method is used to set values on the Dimension Detailing properties panel.
Executing the example requires that HTML page that contains the ExpressBox component named expressBox (see Example of Creating the ExpressBox Component).
//Get report.
var report = expressBox.getSource();
//Get metadata.
var metadata = report.getMetadata().dimensionSettings;
var part = metadata.drillSettings;
//Set dimension value for variable, which need to be set.
part.mode = `Replace`;
//Call the setDimensionSettings method.
eaxMdService.setDimensionSettings(eaxAnalyzer, metadata, part);
//Refresh tree of elements.
dataV = expressBox.getDataView();
dataV.refresh();
After executing the example the Method of Selection Change box is set to Replace on the detailing panel.
See also: