changeFormat
Note: There is no mail button in the dashboard, so the following contents are not supported in the dashboard.
| Method | changeFormat(items) | Modify the format options supported by mail |
|---|---|---|
| Parameter | items:newFormats[] | items:Modified format, string array |
| Return value | void | |
| Example | Example 1: If the obtained toolbar email button object is defined as button , modify the email support format to only support pdf Example 2: In a general report, modify the format supported by the email to only support pdf Example 3: In a general report, modify the email support format to support pdf and Word _g().getToolbar().getWidgetByName("email").changeFormat(['pdf','Word']); | |
Application example | Modify the email support format to only support pdf: Click to download the template: Modify email button format.cpt
| |
| Mobile | Not support mobile terminal | |
