I. Overview
If there are multiple sheets in a report, the first sheet is displayed by default after previewing, so how to display the specified sheet?
As shown in the example below, the second sheet will be displayed by default after previewing.
II. Example
2.1 Prepare template
Prepare a report with 2 sheets.
2.2 Add event
Click Template > Web Attributes, and select Data Entry Settings. Check Individually set for the template, and add a Start Loading event, as shown in the following figure:
The JavaScript code is as follows:
if (typeof(tempfirstLoad) == "undefined")
{
contentPane.$contentPane.data('TabPane').selectTabAt(1);//The number of the sheet starts from 0 by default, so the number of the second sheet is 1
tempfirstLoad ='false';
}
2.3 Effect preview
Save the report, click Data Entry Preview, and the effect is as shown at the beginning.
Note 1: Mobile terminal is not supported.
Note 2: New Data Entry Preview is not supported.