AD
Administrator
Syncfusion Team
March 2, 2005 11:28 PM UTC
I think youare doing what you need to do. You could streamline the code a little by using the Static constructors to get the new range.
So instead of
GridRangeInfo myNewRange = new GridRangeInfo();
myNewRange = GridRangeInfo.Cells(start,i,iIncrease,i);
gridSchedule.CoveredRanges.Add(myNewRange);
you can try
gridSchedule.CoveredRanges.Add(GridRangeInfo.Cells(start,i,iIncrease,i));
MA
Matt
March 2, 2005 11:47 PM UTC
Thanks Clay. I just wanted to make sure there wasn''t a better way of doing it by just expanding the range that was already covered.