This is a migrated thread and some comments may be shown as answers.

Column not groupable after GroupDesriptors.Clear()

3 Answers 35 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Yves
Top achievements
Rank 1
Yves asked on 13 Nov 2013, 01:25 PM
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.


3 Answers, 1 is accepted

Sort by
0
Dimitrina
Telerik team
answered on 14 Nov 2013, 04:30 PM
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 >>
0
Yves
Top achievements
Rank 1
answered on 15 Nov 2013, 08:44 AM
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.
0
Dimitrina
Telerik team
answered on 15 Nov 2013, 11:58 AM
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 >>
Tags
GridView
Asked by
Yves
Top achievements
Rank 1
Answers by
Dimitrina
Telerik team
Yves
Top achievements
Rank 1
Share this question
or