开发者

How to change DataGrid Grouping Display to some other aggregate

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜