Skip to content

Commit ca63ecf

Browse files
MKirovaMKirova
authored andcommitted
docs(pivotGrid): Enable summaries, mentioned in docs
1 parent 2d5d31f commit ca63ecf

1 file changed

Lines changed: 10 additions & 7 deletions

File tree

src/app/pivot-grid/pivot-layout/pivot-layout.component.ts

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -63,18 +63,21 @@ export class PivotGridLayoutComponent {
6363
memberFunction: () => 'All Products',
6464
memberName: 'AllProducts',
6565
enabled: true,
66+
horizontalSummary: true,
6667
width: "150px",
6768
childLevel: {
6869
memberFunction: (data) => data.Product.Name,
6970
memberName: 'ProductCategory',
70-
enabled: true
71+
horizontalSummary: true,
72+
width: "150px",
73+
enabled: true,
74+
childLevel: {
75+
memberName: 'City',
76+
width: "150px",
77+
memberFunction: (data) => data.Seller.City,
78+
enabled: true
79+
}
7180
}
72-
},
73-
{
74-
memberName: 'City',
75-
width: "150px",
76-
memberFunction: (data) => data.Seller.City,
77-
enabled: true
7881
}
7982
],
8083
values: [

0 commit comments

Comments
 (0)