FlexGrid and subtotals

Posted by: ugaret on 18 July 2019, 6:37 am EST

    • Post Options:
    • Link

    Posted 18 July 2019, 6:37 am EST - Updated 4 October 2022, 1:02 am EST

    Starting version 20191.1.363 and again in 20192.375 subtotal dose not work as it suppose to work kindly check the attachment.

  • 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.png

    It 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.png

    Please 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.

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels