AlternatingRowStyle and multiple rows:

  • Thread starter Thread starter probashi
  • Start date Start date
P

probashi

Hi,

Instead of alternating style row by row is it possible to alternate
style for group of rows:

For example I am displaying all the employee information in a grid view
sorted by department. I want to alternate the style by departments (i.e
all the employee in a dept will show up in a same style).

Thanks.
 
Not automagically, but you can control the binding with the binding event
and make these types of determinations. If you want it more "automagic" you
will have to create your own GridView inherited from the MS GridView and add
that capability.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

*************************************************
Think outside of the box!
*************************************************
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top