C# 显示网格中的组总数
我在网格视图中显示“金额”列的总值,当我对网格视图进行分组时,它显示每个组的总值,但不显示所有组总和的梯度总值。我如何显示它?我正在infragistics中使用ultra grid view。显示您要在包含GroupByRowsFooter及其位置的UltraGridOverride上设置的所有组的摘要。帮助中的主题中有一个示例。以下是帮助主题中的C代码:C# 显示网格中的组总数,c#,infragistics,ultrawingrid,C#,Infragistics,Ultrawingrid,我在网格视图中显示“金额”列的总值,当我对网格视图进行分组时,它显示每个组的总值,但不显示所有组总和的梯度总值。我如何显示它?我正在infragistics中使用ultra grid view。显示您要在包含GroupByRowsFooter及其位置的UltraGridOverride上设置的所有组的摘要。帮助中的主题中有一个示例。以下是帮助主题中的C代码: private void customersUltraGrid_InitializeLayout(object sender, In
private void customersUltraGrid_InitializeLayout(object sender,
Infragistics.Win.UltraWinGrid.InitializeLayoutEventArgs e)
{
this.customersUltraGrid.DisplayLayout.Override.AllowRowSummaries =
AllowRowSummaries.True;
this.customersUltraGrid.DisplayLayout.Override.SummaryDisplayArea =
SummaryDisplayAreas.GroupByRowsFooter |
SummaryDisplayAreas.TopFixed;
}
要显示所有组的摘要,您需要在具有GroupByRowsFooter及其位置的UltraGridOverride上设置。帮助中的主题中有一个示例。以下是帮助主题中的C代码:
private void customersUltraGrid_InitializeLayout(object sender,
Infragistics.Win.UltraWinGrid.InitializeLayoutEventArgs e)
{
this.customersUltraGrid.DisplayLayout.Override.AllowRowSummaries =
AllowRowSummaries.True;
this.customersUltraGrid.DisplayLayout.Override.SummaryDisplayArea =
SummaryDisplayAreas.GroupByRowsFooter |
SummaryDisplayAreas.TopFixed;
}