We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Continuing Setting GridStyleInfo properties

Continuing on with the UserGuid example in the previous posting, when I set the "Row Header" BackColor it doesn't repaint unless I call the code twice, or force a client area repaint (e.g., by dragging the form off screen and back on). In this case the problem exists when teh Grid is in virtual mode or not. I'm just following the example code so what am I doing wrong?

2 Replies

AD Administrator Syncfusion Team December 17, 2002 08:43 PM UTC

I think this is related to the previous post where I suggested providing a SaveCellInfo event handler or not setting e.Handled = true for QueryCellInfo event handler. Make sure also there is no BeginUpdate pending, otherwise the grid won't repaint until you call EndUpdate. Stefan

WH Wayne Hartell December 18, 2002 12:16 PM UTC

No luck with this one though. this.Refesh(); seems to be a workaround. Maybe I'll sort it out later when I understand more about what I'm doing. Thanks for your help.

Live Chat Icon For mobile
Up arrow icon