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

alternating backcolor in bound-grid

Thread ID:





20358 Oct 14,2004 10:17 PM UTC Oct 15,2004 12:20 PM UTC WinForms 3
Tags: GridControl
John Wood
Asked On October 14, 2004 10:17 PM UTC

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 04:47 AM UTC

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 11:02 AM UTC

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 12:20 PM UTC

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.

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