Alternating Row Color disappears when adding group descriptors in code

2 posts, 0 answers
  1. Patrick Baggett
    Patrick Baggett avatar
    9 posts
    Member since:
    Aug 2012

    Posted 18 Jul 2012 Link to this post

    I'm having an issue with the alternate row colors disappearing after adding groupdescriptors in code.

    GroupDescriptor myDescriptor1= new GroupDescriptor();
    myDescriptor1.GroupNames.Add("site", ListSortDirection.Ascending);
    myDescriptor1.GroupNames.Add("batch", ListSortDirection.Ascending);
    myDescriptor1.Format = "Site Number, Batch {1}      {2} Records(s)";
    GroupDescriptor myDescriptor2= new GroupDescriptor();
    myDescriptor2.GroupNames.Add("type", ListSortDirection.Ascending);
    myGridView.MasterTemplate.AutoExpandGroups = true;
    myGridView.MasterTemplate.AutoExpandGroups = false;
    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.

  2. Jack
    Jack avatar
    2333 posts

    Posted 23 Jul 2012 Link to this post

    Hi Patrick,

    Thank you for contacting us. 

    I am not able to reproduce the issue using your code and the latest public release of RadControls for WinForms - Q2 2012 (2012.2.608). Please, could you confirm that you experience the described issue when using this version? If this is true, please send us your application and describe the exact steps to reproduce it. This will help us to understand the issue and ensure that it will be addressed. 

    I am looking forward to your reply.

    the Telerik team
    RadControls for WinForms Q2'12 release is now live! Check out what's new or download a free trial >>
Back to Top