Posted 18 July 2019, 6:37 am EST - Updated 4 October 2022, 1:02 am EST
FlexGrid and subtotals
Posted by: ugaret on 18 July 2019, 6:37 am EST
-
-
Posted 19 July 2019, 3:11 am EST
Hello,
You must be using “public void Subtotal(AggregateEnum aggType, int level, string groupOn, string totalOn, string caption)” overload of Subtotal method that is why you are not getting expected result.
Refer image : image1.pngIt is the designed behavior for this overload from 20191.363 build.
You can use “public void Subtotal(AggregateEnum aggType, int level, string groupFrom, string groupTo, string totalOn, string caption)” overload of Subtotal method to work as expected.
Refer image : image2.pngPlease go through the sample where I have implemented the same. To reproduce the change in behavior please comment the respective Subtotal code in the form load event and use the desired one.
I hope it helps.
Thanks and Regards,
Prabhat Sharma.
SubtotalFlexDemo.zip[img]https://gccontent.blob.core.windows.net/forum-uploads/file-a4afd9f4-ad9d-46bc-b9be-40af8ca5b086.png[/img][img]https://gccontent.blob.core.windows.net/forum-uploads/file-4f70d877-f9e7-4040-abf6-654ac0f1fe36.png[/img] -
Posted 19 July 2019, 6:48 pm EST
Perfect!
It works now as it should work.
Thank you for your urgent help and for your valuable time.