dev gridview 设置分组

private void GridConfig()
{
GridGroupSummaryItem item = new GridGroupSummaryItem();
item.FieldName = "group_type";
item.SummaryType = DevExpress.Data.SummaryItemType.Count;
gridView1.GroupSummary.Add(item);
gridView1.Columns["app_type"].GroupIndex = 0;
gridView1.Columns["id"].Width = 70;
}

 

posted @ 2019-01-02 14:42  A-GREATE-USERNAME  阅读(1178)  评论(0编辑  收藏  举报