自定义DevExpress GridView Group时显示项目详细信息
2015-09-19 20:51
288 查看
void CustomDrawGroupRow(object sender, RowObjectCustomDrawEventArgs e) { GridGroupRowInfo info = e.Info as GridGroupRowInfo; if (info.Column.FieldName == "project.Caption") { GridView gridView = sender as GridView; int firstRowHandle = gridView.GetDataRowHandleByGroupRowHandle(e.RowHandle); Projects project = (gridView.GetRow(firstRowHandle) as ProjectSetting).project; info.GroupText ="显示信息";
} }
相关文章推荐