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.
Syncfusion Feedback

To color a row (multicolumn) and refresh

Thread ID:

Created:

Updated:

Platform:

Replies:

29162 May 18,2005 11:38 AM UTC May 18,2005 02:10 PM UTC WinForms 1
loading
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

CONFIRMATION

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.

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

;