如何在数据网格的最后一行显示数据网格的不同行的总和? [英] How to display total sum of different rows of a datagrid in the last row of a datagrid?
本文介绍了如何在数据网格的最后一行显示数据网格的不同行的总和?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
Hai,
我有一个带有自动生成行的数据网格,我必须将datagrid底部的所有行的总数作为一个新行。我怎么能做到......它应该存在,即使它们是1行。
任何人Plz帮助我........
解决方案
请阅读我对这个问题的评论。
看看这里:
如何:对DataGrid控件中的数据进行分组,排序和筛选 [ ^ ]
如何:使用视图对数据进行排序和分组在XAML中 [ ^ ]
Hai,
Am having a datagrid with auto generated row,and i have to get the total of all the rows at the bottom of datagrid as a new row. How can i make it... It should be present even if their is 1 row.
Anybody Plz help me........
解决方案
Please, read my comment to the question.
Have a look here:
How to: Group, Sort, and Filter Data in the DataGrid Control[^]
How to: Sort and Group Data Using a View in XAML[^]
这篇关于如何在数据网格的最后一行显示数据网格的不同行的总和?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文