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!
*************************************************
 
Back
Top