Successfully!

Error!

You are viewing 10.0 help doc. More details are displayed in the latest help doc

Data Analysis Exclusive

Version

VersionFunction changes
11.0.1Add "expandNodeLayer、collapseNodeLayer、expandAllNodeLayer、collapseAllNodeLayer" Interface

centerReport

MethodcenterReport()When using "Data Analysis Preview", set the report to be displayed in the center
  Parameter--
Return valuevoid
   Example

Example 1: If the obtained report block object is defined as report , the report will be displayed in the center under the "Data Analysis Preview"

report.centerReport();

Example 2: The general report is displayed in the center in the "Data Analysis Preview" mode

_g().centerReport();

Application

example

Under the "Data Analysis Preview", the report is displayed in the center:

Click to download the template:

Report display center under data analysis preview.cpt

1.png

MobileNot support mobile terminal

expandNodeLayer

MethodexpandNodeLayer(layer)Expand the collapsed tree to N level nodes
  Parameterlayer: numberNode level, number, the outermost node is 0
Return valuevoid
   Example

Example 1: If the obtained report block object is defined as report, expand the collapsed tree to the level 1 node

report.expandNodeLayer(1);

Example 2: Expand the collapsed tree to level 1 nodes in a general report

_g().expandNodeLayer(1);

Application

example

Click the button to expand the collapsed tree to level 1 nodes:

For detailed implementation process, please refer to:JS Custom number of layers of tree expansion

2.gif

MobileNot support mobile terminal

collapseNodeLaye

MethodcollapseNodeLayer(layer)Collapse the collapsed tree to N level nodes
  Parameterlayer: numberNode level, number, the outermost node is 0
Return valuevoid
   Example

Example 1: If the obtained report block object is defined as report, collapse the collapsed tree to the level 1 node

report.collapseNodeLayer(1);

Example 2: Collapse the collapsed tree to level 1 nodes in a general report

_g().collapseNodeLayer(1);

Application

example

Click the button to collapse the collapsed tree to level 1 nodes:

For detailed implementation process, please refer to:JS Custom number of layers of tree expansion

3.gif

MobileNot support mobile terminal

expandAllNodeLayer

MethodexpandAllNodeLayer()Expand all nodes of the collapsed tree
  Parameter--
Return valuevoid
   Example

Example 1: If the obtained report block object is defined as report, expand all nodes of the collapse tree

report.expandAllNodeLayer();

Example 2: Expand and collapse all nodes of the tree in a general report

_g().expandAllNodeLayer();

Application

example

Click the button to expand all nodes of the collapsed tree:

For detailed implementation process, please refer to:JS Custom number of layers of tree expansion

4.gif

MobileNot support mobile terminal

collapseAllNodeLayer

MethodcollapseAllNodeLayer()Collapse all nodes of the collapsed tree
  Parameter--
Return valuevoid
   Example

Example 1: If the obtained report block object is defined as report, collapse all nodes of the collapse tree

report.collapseAllNodeLayer();

Example 2: Collapse and collapse all nodes of the tree in a general report

_g().collapseAllNodeLayer();

Application

example

Click the button to collaspe all nodes of the collapsed tree:

For detailed implementation process, please refer to:JS Custom number of layers of tree expansion

5.gif

MobileNot support mobile terminal


Attachment List


Theme: 11.0 New Features
Already the First
Already the Last
  • Helpful
  • Not helpful
  • Only read

Doc Feedback