We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Remove Grand Total Row and Column

Hi,

For my project I need to remove both the grand total column at the bottom and left ends of the table.

Is there a way to do it??



3 Replies 1 reply marked as answer

AP AngelinFaithSheeba PaulvannanRajadurai Syncfusion Team December 6, 2022 08:06 AM UTC

Hi Valeria,


You can show or hide grand totals in rows and columns using showGrandTotals property in the pivot table. Please refer the below code example and demo sample.


Code Example:

this.dataSourceSettings = { 

       showGrandTotals: false

 };


Demo Sample: https://ej2.syncfusion.com/angular/demos/#/bootstrap5/pivot-table/summary-customization


Document: https://ej2.syncfusion.com/javascript/documentation/pivotview/summary-customization/#show-or-hide-grand-totals


Also, You can also show or hide grand totals in rows and columns dynamically using built-in toolbar options. Please refer the below sample and documentation.


Sample: https://ej2.syncfusion.com/angular/demos/#/bootstrap5/pivot-table/toolbar


Document: https://ej2.syncfusion.com/javascript/documentation/pivotview/summary-customization/#show-or-hide-totals-using-toolbar


Regards,

Angelin Faith Sheeba.


Marked as answer

VD Valeria de la Torre December 19, 2022 08:10 PM UTC

Thank you Angelin!! It worked just fine!



AP AngelinFaithSheeba PaulvannanRajadurai Syncfusion Team December 20, 2022 06:06 AM UTC

Thanks for the update. Please contact us if you have any other queries. We are always happy to assist you.


Loader.
Live Chat Icon For mobile
Up arrow icon