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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

To color a row (multicolumn) and refresh

Thread ID:





29162 May 18,2005 11:38 AM UTC May 18,2005 02:10 PM UTC WinForms 1
Tags: GridControl
david bosak
Asked On May 18, 2005 11:38 AM UTC

Hi, I color a row (with multicolumns) in dgrResults_PrepareViewStyleInfo() method by the following: e.Style.BackColor = Color.Silver; However, I scroll horizontalScroll, verticalScroll, this backcolor become White. How to keep "Silver" color when clicking the scrollbars? Please help! Thanks!

Administrator [Syncfusion]
Replied On May 18, 2005 02:10 PM UTC

Exactly under what conditions do you set e.Style.BackColor = Color.Silver; Do they vary when you scroll? If so, you will have to come up with a different way to identify when to set this color. Here is a little sample that seems to scroll teh silver cell OK. What are you doing differently? http://www.syncfusion.com/Support/user/uploads/GDBG_SColl_dab7e62f.zip


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

or the page will be automatically redirected to 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