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

[Solved] Unable to capture Expanding or collapsing event on Group by

5 Answers 181 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.
Deepak Agarwal
Top achievements
Rank 1
Deepak Agarwal asked on 29 Jul 2010, 06:55 PM

Hi

I am making an application where I used the Telerik grid. I filled the grid with thousand of records. I made a timer in application which execute in every 45 second and on every execution it refill the Grid with those records.

Now if I applied group by on Grid for one column (you can see in attachment “1.jpeg”) then by default all group come in expand mode (I set at design time) and now I collapsed all group (you can see in attachment “2.jpeg”)

 So when I do Group by then through GroupDescriptor class I am able to store the Group by Column so when my Grid Refill in 45 second I applied the Groupby column as it was earlier (before Refill) so if i do not have to apply the Group by again.

But I am unable to capture the collapsing or expanding event or property if i changed property collapse from expand on any group. so if Grid refill then every group comes in Expand mode as Picture 1.jpeg shows.

Please Help Me.

  

5 Answers, 1 is accepted

Sort by
0
Vanya Pavlova
Telerik team
answered on 30 Jul 2010, 01:06 PM
Hello Deepak Agarwal,

RadGridView does not support such  functionality to capture event like IsExpandedChanged  in Grouping scenario.

Regards,
Vanya Pavlova
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
Deepak Agarwal
Top achievements
Rank 1
answered on 07 Sep 2010, 12:00 PM
HI
Do have any upgradation in Telerik Q2 reagarding event of expanding/collasping in group by.
0
Maya
Telerik team
answered on 09 Sep 2010, 09:00 AM
Hello Deepak Agarwal,

We are still working on the implementation of that functionality. However, that issue is logged into our Public Issue Tracking System and you can vote for it thus affecting its priority. 


Sincerely yours,
Maya
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
Brian Lam
Top achievements
Rank 1
answered on 21 Dec 2010, 12:16 AM
That issue (3378) is marked as resolved in PITS. Does that mean that the group expanding/collapsing events are being added in Q3 2010 SP1?
0
Maya
Telerik team
answered on 21 Dec 2010, 08:05 AM
Hi Brian Lam,

The events are available in our Latest Internal Builds and they will be also a part of the Q3 2010 SP1 release too. The two events are as follows:

private void gridView_GroupRowIsExpandedChanging(object sender, GroupRowCancelEventArgs e)
{
}
private void gridView_GroupRowIsExpandedChanged(object sender, GroupRowEventArgs e)
{
}
  

Best wishes,
Maya
the Telerik team
Browse the videos here>> to help you get started with RadControls for Silverlight
Tags
GridView
Asked by
Deepak Agarwal
Top achievements
Rank 1
Answers by
Vanya Pavlova
Telerik team
Deepak Agarwal
Top achievements
Rank 1
Maya
Telerik team
Brian Lam
Top achievements
Rank 1
Share this question
or