Flexgrid 单元格合并
//设置AllowingMerging的值
grdData.AllowMerging = AllowMergingEnum.Custom;
//获取需要合并的单元格范围
CellRange cr = grdData.GetCellRange(0, grdData.Cols[“lastMonth”].Index, 1, grdData.Cols[“lastMonth”].Index);
//合并单元格
grdData.MergedRanges.Add(cr);
//清空缓存(明细部有动态列合并时,不清空缓存会出现合并混乱)
grdData.MergedRanges.Clear();