Hi Haneef,
The solution suggested by you in not solving my issue. I am still getting some of the hiden text on top of the frozen read only covered cells. Also the problem seems to be appearing only with cells containing bitmaps as shown in the attached image with the first mail in the string.
Do you have any clue as to why the text behind the frozen cell is appearing on top of it? Is this a known issue of Syncfusion or am I doing some wrong settings.
Thanks and Regards
Prashant Agarwal
>Hi Prashant,
Before setting the FrozenCount property, you can handle the Model.FrozenColCountChanged event to recalculate the covered frozen value in a Grid. Here is a code snippet to show this.
private void Model_FrozenColCountChanged(object sender, GridCountChangedEventArgs e)
{
GridModel model = sender as GridModel;
int iFrozenCount = model.Cols.FrozenCount;
foreach(GridRangeInfo range in this.gridControl1.Model.CoveredRanges)
{
if( range.IntersectsWith(GridRangeInfo.Col( iFrozenCount)) )
{
iFrozenCount = range.Right;
}
}
model.Cols.FrozenCount = iFrozenCount;
}
Please refer to the attached sample for more details.
GCCoveredFrozenCount.zipBest Regards,
Haneef