Click here to Skip to main content
11,791,025 members (51,253 online)
Rate this: bad
Please Sign up or sign in to vote.
See more: C# WPF wpftoolkit
How to have Summary row in the Datagrid control. For example I want to display the Total of some columnbelow in the Datagrid control like a summary...
Posted 16-May-12 1:26am
Ajayreddy2611 at 16-May-12 8:30am
Hi U want total number of records in ur datagrid or u want sum of ur datagrid records?
farhan.mycom at 16-May-12 8:46am
Yeah dude...

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

I think this would be helpful to you:[^]
Sandeep Mewara at 16-May-12 8:19am
Perfect link! 5!

Update: I will not downvote, but WPF related was needed.
farhan.mycom at 16-May-12 8:45am
Hey dude.. I'm using WPF... Asp .Net grid is different from WPF grid....
hunain.esh at 16-May-12 8:51am
You didn't mentioned it before dude:) I have little familiarity with WPF
hunain.esh at 16-May-12 9:02am
Another possibility would be to have a second DataGrid below your first grid, a summary DataGrid if you will.

You could perform data bindings to set the column sizings (if they are dynamic) and it would align nicely if placed in a grid layout in XAML.

Hope this gives you some ideas.

Visit this link dude

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 1,329
1 Maciej Los 835
2 ppolymorphe 780
3 KrunalRohit 686
4 CPallini 661

Advertise | Privacy | Mobile
Web04 | 2.8.1509028.1 | Last Updated 16 May 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100