Hi Lim,
Thank you for using Syncfusion products.
You could avaoid the issue by handling the TableControlDrawCell and TableControl.HScrollPixelPosChanged events. See the code:
private void TableControlDrawCell(object sender, GridTableControlDrawCellEventArgs e)
{
GridTableCellStyleInfo style = e.Inner.Style as GridTableCellStyleInfo;
if (style.TableCellIdentity.TableCellType == GridTableCellType.GroupCaptionCell
&& e.Inner.ColIndex == 0 )
{
e.Inner.Cancel = true;
string s = e.Inner.Style.Text;
e.Inner.Style.Text = string.Empty;
Rectangle rect = e.Inner.Bounds;
rect.Location = new Point(0, rect.Y);
e.Inner.Renderer.Draw(e.Inner.Graphics, e.Inner.Bounds, e.Inner.RowIndex, e.Inner.ColIndex, e.Inner.Style);
e.Inner.Graphics.DrawString(s, e.Inner.Style.GdipFont, new SolidBrush(e.Inner.Style.TextColor), rect);
e.Inner.Style.Text = s;
}
}
private void HScrollPixelPosChanged(object sender, GridScrollPositionChangedEventArgs e)
{
GridTableControl tc = sender as GridTableControl;
tc.RefreshRange(GridRangeInfo.Row(1));
}
Sample for your reference:
http://www.syncfusion.com/uploads/redirect.aspx?&team=support&file=GGCScrolling-1116423455.zipPlease let me know if this helps.
Regards,
Jisha