I. Description
In the report page, occasionally there is a need to obtain toolbar buttons. Previously, it could only be obtained through contentPane.toolbar.options.items[index] , which was inconvenient. Now we provide two new ways to obtain toolbar buttons. Let’s take obtaining the email button as an example.
a) The first way:
var item = contentPane.toolbar.email;
b) The second way:
var item = contentPane.toolbar.getWidgetByName("email");
The following table shows the names of built-in toolbar buttons and their corresponding values
Button name | Value |
Submit | submit |
Data validation | verify |
Home page | fist |
Previous page | previous |
Next page | next |
Last page | last |
Print (on client) | flashprint |
Current page/total pages | pagenavi |
Stash | stash |
Clear | clear |
Refer to the original link: https://help.finereport.com/doc-view-1297.html