setName4Empty
Method | setName4Empty(name) | Modify the default text "Select none" when the drop-down box widget is pulled down |
---|---|---|
Parameter | name: string | new text, string |
Return value | void | |
Example | Example 1: If the obtained drop-down box widget object is defined as combo, change the default text of the drop-down box to "Select all" Example 2: In a general report, change the default text of the drop-down box comboBox0 in the parameter pane to "Select all" Example 3: Dashboard, change the default text of the drop-down box comboBox0 in the body to "Select all" Note: After adding an event, after an error is reported because the report block object is not completely created, you can add a delay function to delay execution, such as: | |
Application example | Change the default text of the drop-down box to "select all": Click to download the template: | |
Mobile | Not support mobile terminal |