This is an example of the Angular Pivot Grid Component with SubTotals and GrandTotals displayed on the pivot rows and columns.
The pivot grid component can be configured to display SubTotals and GrandTotals at the same time or separately.
It is also possible to configure different totals settings for the pivot rows and the pivot columns. To change the default settings
modify the totals property of the pivot data adapter.