I'm having an issue with the alternate row colors disappearing after adding groupdescriptors in code.
example:
When I group my data (drag\drop column) while form is running, the alternating row colors are not affected.
example:
GroupDescriptor myDescriptor1= new GroupDescriptor();
myDescriptor1.GroupNames.Add("site", ListSortDirection.Ascending);
myDescriptor1.GroupNames.Add("batch", ListSortDirection.Ascending);
myDescriptor1.Aggregates.Add("count(counter)");
myDescriptor1.Format = "Site Number, Batch {1} {2} Records(s)";
GroupDescriptor myDescriptor2= new GroupDescriptor();
myDescriptor2.GroupNames.Add("type", ListSortDirection.Ascending);
myGridView.MasterTemplate.AutoExpandGroups = true;
myGridView.GroupDescriptors.Add(myDescriptor1);
myGridView.MasterTemplate.AutoExpandGroups = false;
myGridView.GroupDescriptors.Add(myDescriptor2);
myGridView.EnableFiltering = true;
myGridView.EnableAlternatingRowColor = true;
myGridView.MasterTemplate.EnableAlternatingRowColor = true;
When I group my data (drag\drop column) while form is running, the alternating row colors are not affected.