Is it possible to hide the subtotal values either group is expanded or collapsed?
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: https://www.flexmonster.com/doc/options/ . 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.
Regards,
Dmytro
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
Hello,
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.
Regards,
Dmytro
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.
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): https://jsfiddle.net/flexmonster/28gwq5hc/.
Looking forward to your response.
Best regards,
Mykhailo