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.

alternating backcolor in bound-grid

Thread ID:





20358 Oct 14,2004 06:17 PM Oct 15,2004 08:20 AM Windows Forms 3
Tags: GridControl
John Wood
Asked On October 14, 2004 06:17 PM

How do you get an alternating background color for each row in the data-bound grid? Is it possible?

Administrator [Syncfusion]
Replied On October 15, 2004 12:47 AM

Currently, the simplest way to do this is to handle the PrepareViewStyleInfo event, and set the color there. Here is a KB link that has code snippets. http://www.syncfusion.com/Support/article.aspx?id=10418

John Wood
Replied On October 15, 2004 07:02 AM

Oh I thought you mentioned a while back that this will be just a single property change for v2?

Administrator [Syncfusion]
Replied On October 15, 2004 08:20 AM

There is in the GridGroupingControl, but not in the GridDataBoundGrid. This is a feature request for the GridDataBoundGrid, but to date it has not been implemented.


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.