Column not groupable after GroupDesriptors.Clear()

4 posts, 0 answers
  1. Yves
    Yves avatar
    7 posts
    Member since:
    Aug 2011

    Posted 13 Nov 2013 Link to this post

    Dear Telerik team,

    We have a gridview that allows the user to group, but when the user navigates to another page, we want to reset the grouping, e.g.:
            private void OrderingBookView_OnUnloaded(object sender, RoutedEventArgs e)
            {
                grvOrderingBook.GroupDescriptors.Clear();
            }
    








    But when the user navigates back to the page, the column on which the grid was grouped the first time, can no longer
    be grouped or filtered. The header of the column does not respond to clicking or dragging. Any other groupable columns can still be
    grouped or filtered, just not the one that was in the groups at the time of the Clear.

    Any ideas?

    Best regards,

    Yves.


  2. Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 14 Nov 2013 Link to this post

    Hello Yves,

    Unfortunately I am not able to reproduce any problem applying grouping after I clear the currently added GroupDescriptors.

    Do you do anything else once the view is loaded back? What is the result if you invoke this code on a button click instead?

    Regards,
    Didie
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
  3. DevCraft banner
  4. Yves
    Yves avatar
    7 posts
    Member since:
    Aug 2011

    Posted 15 Nov 2013 Link to this post

    Hello Didie,

    You are correct, it works if I use a basic telerik grid.
    The problem is somewhere in the company library that customizes the telerik controls.

    Sorry to bother you with this,

    Best regards,
    Yves.
  5. Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 15 Nov 2013 Link to this post

    Hi Yves,

    You can debug in details on what settings are set related to the grouping functionality. 

    Regards,
    Didie
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
Back to Top