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

Make GridSummaryColumn based on other columns

Hello,

I have the below grid and it has percentage columns.
I would like my table summary to show the overall percentage for all rows.
Ideally the summary for the AssignedPercent column would be 80.48 and the summary for the RejectedPercent column would be 19.52.
This is calculated as AssignedPercent = Assigned / (Assigned + Rejected) and RejectedPercent = Rejected / (Assigned + Rejected).
Is there any way to accomplish this?



1 Reply

AN Ashok N Syncfusion Team October 9, 2014 09:54 AM UTC

Hi Aaron,

 

Thank you for contacting Syncfusion support.

 

We have analyzed your query and you can achieve your requirement by using Custom Summaries in our SfDataGrid. We have created sample based on your requirement and attached the sample in the below location, please refer it.

Please refer the below UG documentation link for finding more information regarding Custom Summaries.

UG link: http://help.syncfusion.com/ug/wpf/default.htm#!documents/customsummaries.htm

Sample:

 

Please let us know, if you have any queries.

Thanks,
Ashok


Attachment: PercentSummery_8088664b.zip

Loader.
Live Chat Icon For mobile
Up arrow icon