The following is a brief introduction to the Web Report development Finereport.
Tools/Materials
1. Description
The extension of a cell is described in the previous section, and the cell extension is specific to one cell, and if there is a connection between the cell and the cell when multiple cells are bound in the report body, does the extension direction affect each other?
For example, if you drag two 2 fields in a cell, you can see that the following cells are grouped according to the previous cell data when you preview the Web side:
650) this.width=650; "src=" Http://www.finereporthelp.com/help/2/3-1.png "style=" padding:10px 0px 5px; "alt=" 3-1.png " />
Indicates that when multiple cells are bound in the body of the report, there is a natural relationship between the cells, so that there is a data-filtering relationship between the cells, and following the extension, which is the parent-child, the preceding cells are called the parents, and the cells that follow are called the child cells. That is to say, the data of the child is filtered and grouped according to the data of the parent, and also expands with the extension direction of the parent, let's look at the parent-child details below.
2. Parent-Child relationships
The extended properties of sublattices vary with the extended properties of the parent, and when the cell left or above the adjacent cell has an extended property, the cell defaults to its left adjacent cell as its Zovig, and the adjacent cell to its parent on top of the default.
There are two types of parent-child relationships: filtering relationships and following relationships.
The filter relationship means that the parent's data is filtered by default as a filter, so that the data between the parent and the child can be displayed, but the default filter is limited to two cells from the same dataset, for example, two cells from the same data set. Therefore, the East China cell behind the sales staff in the eastern China region, with the northern region of the sales staff, and different data set of two fields, the child will follow the parent will repeat all the data, for example, B2 cell adjacent to the cell is A2, on its left, so A2 for B2 Zovig:
650) this.width=650; "src=" Http://www.finereporthelp.com/help/2/3-2.png "style=" padding:10px 0px 5px; "alt=" 3-2.png " />
Note: The filtering relationship can be added manually, in addition to the parent-child default, and is detailed later in the chapter.
Following a relationship means that the child will default to follow the parent's extended direction grouping, that is, the parent extension, sublattices follow the parent default vertical extension, such as, the region cell A2 vertical expansion, the child B2 also vertically follow the extension, the parent scale, the child will follow the parent scale group, While maintaining your own data using the default vertical extension, for example, A3 adjacent cell is A2, and above it, so A2 is the parent of A3:
650) this.width=650; "src=" Http://www.finereporthelp.com/help/2/3-3.png "style=" padding:10px 0px 5px; "alt=" 3-3.png " />
Note: If the data in a cell is a field in a dataset and is not a formula, its default extension direction is vertical, but it will be grouped in different directions depending on the parent.
3. Parent-Child classification
The parent-child includes both the Zovig and the upper parent lattice.
Zovig refers to the vertical extension of the parent cell, which means that its parent is a vertical extension, in general, the Zovig is on the left side of the cell, the cell will be adjacent to the left side of the longitudinal cell Ipalogama think Zovig, and when the mouse is selected in a neutron cell, Zovig will display a blue downward arrow, such as:
650) this.width=650; "src=" Http://www.finereporthelp.com/help/2/3-4.png "style=" padding:10px 0px 5px; "alt=" 3-4.png " />
Zovig refers to the horizontal extension of the parent cell, which means that its parent is scale-out, in general, the Zovig is above the cell, the cell is adjacent to the upper scale cell Ipalogama the parent, and when the mouse is selected, the upper parent displays a blue Rightwards arrow, such as:
650) this.width=650; "src=" Http://www.finereporthelp.com/help/2/3-5.png "style=" padding:10px 0px 5px; "alt=" 3-5.png " />
4. Parent-Child settings
There are 3 settings for the parent: not set, default settings, and custom settings, as shown in:
650) this.width=650; "src=" Http://www.finereporthelp.com/help/2/3-6.png "style=" padding:10px 0px 5px; "alt=" 3-6.png " />
A custom setting means that you can set the parent for the specified cell yourself, either by entering the cell directly or by selecting it quickly, as shown in:
650) this.width=650; "src=" Http://www.finereporthelp.com/help/2/3-7.png "style=" padding:10px 0px 5px; "alt=" 3-7.png " />
By default, when you drag a column of data into a cell, the cell defaults to either the top-up or the left-hand-expanded cell as the parent or Zovig.
Note: You must be a neighboring peer or the same column cell, not adjacent to the custom settings that you want.
Another: When the left adjacent cell of its cell does not have an extended property, the cell that has the extended property is searched to the left or up in turn to determine its parent.
None means that the cell has no parent, such as:
650) this.width=650; "src=" Http://www.finereporthelp.com/help/2/3-8.png "style=" padding:10px 0px 5px; "alt=" 3-8.png " />
Web Report Development Finereport Parent-child settings