We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Create subtotal and total rows in SfDataGrid

Hello,

Can you help me please to find a documentation how can I create a similar grid with sub-total and total rows if it is possible? The subtotal and total rows should be updated when a normal-row changing, added or deleted.




Thank you very much!


3 Replies 1 reply marked as answer

VS Vijayarasan Sivanandham Syncfusion Team October 5, 2022 10:20 AM

Hi SZL,

SfDataGrid provides support to display concise information about the data objects using summaries. For more information related to summaries, please refer to the below user guide documentation link,


UG Link:
https://help.syncfusion.com/windowsforms/datagrid/summaries

https://help.syncfusion.com/windowsforms/datagrid/summaries#table-summary

https://help.syncfusion.com/windowsforms/datagrid/summaries#group-summary

https://help.syncfusion.com/windowsforms/datagrid/summaries#caption-summary

However, we have prepared the sample to meet your requirement. Please find the sample in the attachment.

UG Link: https://help.syncfusion.com/windowsforms/datagrid/summaries#custom-summaries

https://help.syncfusion.com/windowsforms/datagrid/datamanipulation#livedataupdatemode--allowsummaryupdate

Please have a look at this sample and let us know if you have any concerns in this.

Regards,

Vijayarasan S



Attachment: Sample_a2942165.zip

Marked as answer

SZ SZL replied to Vijayarasan Sivanandham October 5, 2022 03:14 PM

Hi  Vijayarasan,

Thank you very much, this is amazing and the syncfusion support too (far the best compared with another sites!)

Have a nice day!




VS Vijayarasan Sivanandham Syncfusion Team October 6, 2022 12:45 AM

Hi SZL,

We are glad to know that the reported problem has been resolved at your end. Please let us know if you have any further queries on this. We are happy to help you😊.

Regards,

Vijayarasan S


Loader.
Live Chat Icon For mobile
Up arrow icon