加事件CustomDrawGroupRow
private void GridDisplayTreeView_CustomDrawGroupRow(object sender, DevExpress.XtraGrid.Views.Base.RowObjectCustomDrawEventArgs e)
{
GridGroupRowInfo GridGroupRowInfo = e.Info as GridGroupRowInfo;
GridView gridview = sender as GridView;
int index = gridview.GetDataRowHandleByGroupRowHandle(e.RowHandle);
GridGroupRowInfo.GroupText = gridview.GetRowCellValue(index, "协定处方名称").ToString();
}