2018-03-30 Gridcontrol 添加组计

private  void TestForm_Load(object sender, EventArgs e)

 {

 BindDataSource(InitDt());

 gridView1.GroupSummary.Add(DevExpress.Data.SummaryItemType.Count, "id", gridColumn1, "组计:{0}");

 gridView1.GroupSummary.Add(DevExpress.Data.SummaryItemType.Sum, "数据", gridColumn7, "小计:{0}");

 }
2018-03-30 Gridcontrol 添加组计_第1张图片
image.png

本文作者:王颢

<上一篇 目录 下一篇>

你可能感兴趣的:(2018-03-30 Gridcontrol 添加组计)