CurrentView: Control
The CurrentView property sets the active tab in the Parameters dialog box.
Use the setCurrentView method to set the value of the CurrentView property, or set it from JSON, and get the property value using the getCurrentView property.
Executing the example requires that the HTML page contains the ParametersDialog component named parametersDialog (see Example of Creating the ParametersDialog Component). Get the current dialog tab and show its name:
// Get current tab of the Parameters dialog box var currentView = parametersDialog.getCurrentView(); // Show tab name console.log("Name: " + currentView.getName());
After executing the example the browser consolw displays the name of the current dialog box tab.
Name: Data Sources Parameters
See also: