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

Expand and collapse Group

3 Answers 151 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Guillermo Aquino
Top achievements
Rank 1
Guillermo Aquino asked on 19 Jul 2010, 04:00 PM
Hi,

i'm using a RadGridView - version 2010 Q2 for Silverlight

i would like to know if is there a event when i Expand or Collapse an Group?

Thanks

3 Answers, 1 is accepted

Sort by
0
Pavel Pavlov
Telerik team
answered on 19 Jul 2010, 05:51 PM
Hi Guillermo Aquino,

There is no such event . However if you share what you are trying to achieve ,  we may think of a workaround . Let me know what is the final goal and I try to assist.

Regards,
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
Guillermo Aquino
Top achievements
Rank 1
answered on 20 Jul 2010, 08:53 AM
Hi, 

I'm developing a Planning control, this control contain Two controls: RadDatagrid (Resources ) and Another control (Tasks)
then, i must sync my rows of tasks Control with my rows of resources RadDataGrid
when i do a grouping, i can group my rows of my task control using the event Grouped, this is ok!!
but i want to control also the expand and collapse group for to update the rows of task control, is it posible?

Thanks, 
0
Rossen Hristov
Telerik team
answered on 21 Jul 2010, 08:28 AM
Hello Guillermo Aquino,

RadGridView has the methods ExpandAllGroups, CollapseAllGroups, ExpandGroup(IGroup), and CollapseGroup(IGroup).

The last two expand / collapse a single group. While the grid is grouped, you can find the group of interest in the collection RadGridView.Items.Groups.

I hope this helps.

Regards,
Ross
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
Tags
GridView
Asked by
Guillermo Aquino
Top achievements
Rank 1
Answers by
Pavel Pavlov
Telerik team
Guillermo Aquino
Top achievements
Rank 1
Rossen Hristov
Telerik team
Share this question
or