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
close icon

alternating backcolor in bound-grid

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

3 Replies

AD Administrator Syncfusion Team 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


JW John Wood 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?


AD Administrator Syncfusion Team 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.

Loader.
Live Chat Icon For mobile
Up arrow icon