Documentation menu
Grid forms
Improve the visual representation of your data to make it easier to understand. You can use the forms of a pivot table to display the report differently.
WebDataRocks Pivot Table offers three standard layouts – classic, compact and flat forms.
To change the grid form
- Via UI
- Go to the Options tab () on the Toolbar.
- Select the form of your choice.
- Apply the changes.
- Programmatically
Set a grid layout through thegrid.type
property of the Options Object:It is also possible to set thereport: { options: { grid: { type: "classic" } } }
grid.type
option for all reports.
Compact form
The compact form is enabled by default. This layout helps keep your data in a neat and concise style.
Features:
- Compact form enhances the readability of the report.
- If the rows contain more than one hierarchy, the members of the inner hierarchy can be expanded and collapsed by clicking on the outer hierarchy name.
- If the members of the hierarchies in the rows are expanded, they are placed one under the other, without being transferred to a separate column.
- If the members of the hierarchies in the columns are expanded, they are placed in a separate row.
- Subtotals are shown at the end of each row in a separate column.
- Grand totals are placed at the bottom in a separate row.
Average:
Count:
Sum:
1
1
2
3
2
3
4
5
6
7
8
9
10
Accessories
Bikes
Cars
Clothing
Components
Totals
Australia
Canada
France
Total Sum of Price
4
Australia
5
Specialty Bike Shop
6
Value Added Reseller
7
Warehouse
8
Canada
9
France
10
Germany
11
United Kingdom
12
United States
13
Grand Total
2 598
2 589
9
62 651
570 649
2 165
42 950
681 013
522
522
22 329
165 193
927
7 032
196 003
2 040
2 040
17 302
220 170
1 238
17 240
257 990
36
27
9
23 020
185 286
18 678
227 020
22 331
17 435
4 896
43 453
501 290
2 702
39 583
609 359
6 380
242
6 138
47 054
584 267
957
25 718
664 376
102
102
9 541
571 320
2 163
15 718
598 844
126
126
18 808
368 954
2 367
20 631
410 886
12 901
12 901
29 087
286 775
2 996
16 688
348 447
44 438
15 732
17 546
11 160
210 594
2 883 255
13 350
161 288
3 312 925
Category
Destination
Country
Business Type
Classic form
The classic form suits perfectly those who would like to have an Excel-like user experience.
Features:
- If the rows contain more than one hierarchy, the members of the inner hierarchy can be expanded and collapsed by clicking on the outer hierarchy name.
- If the members of the hierarchies in the rows are expanded, they are placed in a separate column. It is the main feature that distinguishes the classic layout from the compact one.
- If the members of the hierarchies in the columns are expanded, they are placed in a separate row.
- Subtotals are shown in a separate row after each hierarchy in the rows.
- Grand totals are placed at the bottom in a separate row.
Flat form
The flat form displays the data in a non-aggregated view which reflects its original raw structure. It’s the simplest form among the others.
Features:
- The data is shown without aggregation.
- Each hierarchy is placed in a separate column.
- Grand totals are placed in the first row.
Sabby