基于aspxgridview中页脚行值的计算?

时间:2015-01-19 12:20:08

标签: devexpress aspxgridview

我想根据另一列页脚行值计算特定列的页脚值。我的网格数据如下所示。

             a   b   c     d
             1   1   1     5
             2   2   2     7
Grand total  3   3   3

In d column Grand tot based on the value of 
grand total of C column/Grand total of A column*100? 
How to calculate the grand total of D column for the above table
using DEVEXPRESS ASPXGridview control?

1 个答案:

答案 0 :(得分:1)

您需要使用custom summaries。处理ASPxGridView.CustomSummaryCalculate事件并在那里实现您的逻辑。请按照Obtain Summary Values文章获取其他摘要的值。