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
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Continuing Setting GridStyleInfo properties

Thread ID:





2131 Dec 17,2002 07:48 PM UTC Dec 18,2002 12:16 PM UTC WinForms 2
Tags: GridControl
Wayne Hartell
Asked On December 17, 2002 07:48 PM UTC

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?

Administrator [Syncfusion]
Replied On 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

Wayne Hartell
Replied On 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.


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon