Click here to Skip to main content
Rate this: bad
good
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 2:26am
Comments
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
good
Please Sign up or sign in to vote.

Solution 1

I think this would be helpful to you:
 
http://msdn.microsoft.com/en-us/library/bb310552.aspx[^]
  Permalink  
Comments
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
 
http://www.codeproject.com/Articles/30905/WPF-DataGrid-Practical-Examples

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

  Print Answers RSS
0 OriginalGriff 6,569
1 Sergey Alexandrovich Kryukov 6,168
2 DamithSL 5,228
3 Manas Bhardwaj 4,717
4 Maciej Los 4,150


Advertise | Privacy | Mobile
Web02 | 2.8.1411022.1 | Last Updated 16 May 2012
Copyright © CodeProject, 1999-2014
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