doClick
| Method | doClick() | The click event that triggers the button is equivalent to a manual click |
|---|---|---|
| Parameter | - | - |
| Return value | void | |
| Example | Example 1: If the obtained button widget object is defined as button, trigger the click event of the button Example 2: In ageneral report, trigger the click event of the button button0 in the parameter pane Example 3: In the dashboard, trigger the click event of the button button0 in the body 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 | Set the report to query automatically after 2s (do not click the query button): Click to download the template: Automatically trigger the click event of the button widget.cpt
| |
| Mobile | Support mobile terminal | |
