Why is the isTotal property being set to false when you collapse a row?
Isn’t still a total of the underling rows?
Thank you for reaching out.
We haven’t managed to reproduce the same behavior on our end.
Here is a JSFiddle for reference: https://jsfiddle.net/flexmonster/zt2bdcyk/. In the example,
isTotal is returned as
true for both collapsed and expanded grid total cells (for example,
Could you please provide a code sample or modify the provided JSFiddle, so the issue is reproducible?
More insight will help us to understand the situation better.
Thank you, and looking forward to your response.
It’s when you are using a hierarchy: https://jsfiddle.net/ofvm2sn9/
If you right click the 20479 in Canada and select getCell isTotal is false then expand color and right click the 20479 in Canada and select getCell isTotal is true.
Thank you for providing further details.
You are right;
isTotal changes to
false when the multilevel hierarchy is drilled up to the top level.
Our team will look into this in more detail, and we will share the results with the ETA August 26th.
Feel free to reach out to us if any questions arise in the meantime.
I have just updated to the newest version and it works when “showHierarchies” is enabled but if you set it to false “isTotal” is still false when drilling up to the top level: https://jsfiddle.net/sbxv3q5h/
Thank you for reporting this detail.
Our team will provide an update to cover the
"showHierarchies: false" scenario as well.
This will be available in an upcoming minor release of Flexmonster with the ETA 21st of September.
Please contact us if any questions arise.