I have a 2 DataRowTemplateStyles in my grid so each DataRow alternates in color. The problem is when I set the visibility to one of my rows to false, the template doesn’t adjust. So I now have a pattern like this:
Red
Red
Blue
Red
Where I still would like to maintain the pattern
Red
Blue
Red
Blue
Does anyone know how I can get the DataRowTemplateStyle to disregard DataRows whose visibility is false?
Imported from legacy forums. Posted by benjaminh (had 2392 views)