HA
haneefm
Syncfusion Team
May 21, 2007 03:41 PM UTC
Hi Richard,
Try calling the CoveredRanges.Clear method to rese all the covered ranges in a grid.
this.grid.Model.CoveredRanges.Clear();
Best regards,
Haneef
RM
Richard Mitchell
May 22, 2007 09:10 AM UTC
Nope that doesn't seem to work. If I have 8 columns in first time I view I merge 4 pairs of columns. Then when I switch and have about 10000 columns still only the first 4 pairs of columns have been merged.
I'm using the grid virtually if you think that makes a difference.
HA
haneefm
Syncfusion Team
May 22, 2007 06:23 PM UTC
Hi Richard,
Try adding
MainGrid.Model.MergeCells.DelayMergeCells(GridRangeInfo.Table());
right before your MainGrid.Refresh() call to see if that does what you want.
Best regards,
Haneef
RM
Richard Mitchell
May 23, 2007 10:15 AM UTC
Yup, that's fixed it thanks.