Successfully!

Error!

You are viewing 10.0 help doc. More details are displayed in the latest help doc

Parameter Pane Interface

Version

VersionFunction Changes
11.0.1
Add collapse, expand, submit interface

getWidgetByName

MethodgetWidgetByName(name)Get the widget in the parameter pane, and use it in combination with the widget interface
   Parametername: stringwidget name, string
 Return valueobject widget object, need to be used in conjunction with the attributes/methods of the widget
    Example

Example 1: If the acquired parameter pane is defined as parameterContainer, get the drop-down box widget comboBox0 on the parameter pane

parameterContainer.getWidgetByName("comboBox0");

Example 2: Get the drop-down box widget comboBox0 on the report parameter pane

_g().getParameterContainer().getWidgetByName("comboBox0");

Application

example

After obtaining the widget on the parameter pane, assign it a value to realize the linkage of the widget value in the parameter pane:

Click to download the template: 

Get the widget on the parameter pane.cpt

1.gif

MobileSupport mobile terminal

collapse

Methodcollapse()Collapse parameter pane
  Parameter--
 Return valuevoid
    Example

Example 1: If the acquired parameter pane object is defined as parameterContainer, collapse the parameter pane

parameterContainer.collapse();

Example 2: Collapse the parameter pane after getting it

_g().getParameterContainer().collapse();

Application

example

Click the toolbar button to collapse the parameter pane:

Click to download the template: 

Customize toolbar buttons to control the expansion and collapse of the parameter pane.cpt

2.gif

MobileSupport mobile terminal

expand

Methodexpand()Expand parameter pane
   Parameter--
 Return valuevoid
    Example

Example 1: If the acquired parameter pane object is defined as parameterContainer, expand the parameter pane

parameterContainer.expand();

Example 2: Expand the parameter pane after getting it

_g().getParameterContainer().expand();

Application

example

Click the toolbar button to expand the parameter pane:

Click to download the template: 

Customize toolbar buttons to control the expansion and collapse of the parameter pane.cpt

3.gif

MobileSupport mobile terminal

submit

Methodsubmit()Query after submitting automatically
  Parameter--
 Return valuevoid
    Example

Example 1: If the acquired parameter pane object is defined as parameterContainer, query after submitting automatically

parameterContainer.submit();

Example 2:The report query after submitting automatically

_g().getParameterContainer().submit();

Application

example

After selecting the value from the drop-down box in the parameter pane, you can query without clicking the query button, as shown in the following figure:

Click to download the template:

Automatic query after submitting.cpt

4.gif

MobileSupport mobile terminal


Attachment List


Theme: 11.0 New Features
Already the First
Already the Last
  • Helpful
  • Not helpful
  • Only read

Doc Feedback