gridview控件/统计功能
比如对“数量”列进行统计,只要在GridControl的设计器中设置SummaryItem:
SummaryItem.DisplayFormat = "{0:f2}";
SummaryItem.FieldName = "数量";
SummaryItem.SummaryType = DevExpress.Data.SummaryItemType.Sum;
gridview控件/统计功能
比如对“数量”列进行统计,只要在GridControl的设计器中设置SummaryItem:
SummaryItem.DisplayFormat = "{0:f2}";
SummaryItem.FieldName = "数量";
SummaryItem.SummaryType = DevExpress.Data.SummaryItemType.Sum;