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

Expand GroupDescriptor

3 Answers 208 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
NS
Top achievements
Rank 1
NS asked on 05 Jul 2010, 01:10 PM
Hi,
If set a GroupDescriptor from XAML (or C#), the group descriptor is collapsed. (see screenshot)

 <telerikGridView:RadGridView.GroupDescriptors> 
                    <data:GroupDescriptor Member="oArticleCategory.oArticleType.Description">  
                    </data:GroupDescriptor> 
                </telerikGridView:RadGridView.GroupDescriptors> 

Is it possible to expand the records on the groupdescriptor by default ?

Thanks,
Nicolas

3 Answers, 1 is accepted

Sort by
0
Pavel Pavlov
Telerik team
answered on 05 Jul 2010, 01:13 PM
Hello NS,

Please set the AutoExpandGroups property of RadGridView to true.

All the best,
Pavel Pavlov
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Voss Grose
Top achievements
Rank 1
answered on 30 Mar 2011, 09:59 PM
Is it possible to expand/collapse each group via a converter in the xaml (MVVM)?

thanks.
0
Vlad
Telerik team
answered on 31 Mar 2011, 07:45 AM
Hello,

 In Silverlight 4 this cannot be achieved with simple style for the GridViewGroupRow since there are no bindings in the setters - you can simply set true or false:
<Grid.Resources>
            <Style TargetType="telerik:GridViewGroupRow">
                <Setter Property="IsExpanded" Value="True" />
            </Style>
        </Grid.Resources>

In Silverlight 5 this will be possible. 

To achieve your goal with Silverlight 4 you will need to redefine the GridViewGroupRow template with Blend and attach your converter to the IsExpanded binding(s).

Greetings,
Vlad
the Telerik team
Tags
GridView
Asked by
NS
Top achievements
Rank 1
Answers by
Pavel Pavlov
Telerik team
Voss Grose
Top achievements
Rank 1
Vlad
Telerik team
Share this question
or