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

To color a row (multicolumn) and refresh

Thread ID:





29162 May 18,2005 07:38 AM May 18,2005 10:10 AM Windows Forms 1
Tags: GridControl
david bosak
Asked On May 18, 2005 07:38 AM

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 10:10 AM

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.

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.