Get Free Trial

Hiding subtotals

mmd975 asked on June 22, 2018

Is it possible to hide the subtotal values either group is expanded or collapsed?

5 answers

Dmytro Zvazhii Dmytro Zvazhii Flexmonster June 22, 2018

Hello ,
Thank you for your question.
In such case, please set showTotals property with off . The showTotals property is the part of grid’s options object. Please find more information in our docs: . Also, you can turn off the subtotals using UI tools. Just press ‘Options’ button in the toolbar and choose “Do not show subtotals”.
Please let us know if everything works fine for you.

mmd975 June 23, 2018

Thank you for the response.
By switching off the grid.showTotals, when I expand the groups, the component does not show the subtotals, but when the groups are collapsed, the subtotal rows show the aggregate values. I want to hide the values in subtotal rows in both cases: when the groups are expanded or collapsed.
Best Regards

Dmytro Zvazhii Dmytro Zvazhii Flexmonster June 25, 2018

Thank you for your feedback. Could you please provide us with the screenshot examples which show the desired behavior? That will definitely help us to clarify the situation.
Waiting for the update from you.

Saswat Patro September 2, 2021

Hi Dmytro,
I have the same doubt…I have attached an image to show the same..I dont want the values aggregation when i collapse the column.


Mykhailo Halaida Mykhailo Halaida Flexmonster September 3, 2021

Hi Saswat,
Thank you for posting your question.
You can try emptying the unwanted cells with the customizeCell() API call based on particular cell properties. 
Here’s a quick sample illustrating this approach (cleared cells are highlighted with green for illustration):
Looking forward to your response.
Best regards,

Please login or Register to Submit Answer