I have a DataGrid
bound to a PagedCollectionview
property of my View-Model. I've added a PropertyGroupDescription
to the PagedCollectionView.GroupDescriptions
.
Currently the grouping heading displays th开发者_JS百科e value of the property that is being grouped on, and an item count for that group. What I would like is to add min,max, and sums of various values of the group, and display those in the header as well. Is such a thing possible with the DataGrid?
Yes, it's possible. You should create own DataGridRowGroupHeader Style. Sample here. Also look at this sample
精彩评论