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

[Solved] Is there any event to capture expanding some group?

4 Answers 107 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.
Weiqi
Top achievements
Rank 1
Weiqi asked on 26 Aug 2010, 07:05 AM
Hi,

i want to do something before expand group


Thanks.

4 Answers, 1 is accepted

Sort by
0
Maya
Telerik team
answered on 26 Aug 2010, 07:31 AM
Hello Weiqi,

Unfortunately, for the time being RadGridView does not support events that listens for expanding/collapsing of a group. However, if you share more details about your scenario and the purpose of using an event occurring before expanding a group, we may be able to provide you with a possible workaround. 

Regards,
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
Weiqi
Top achievements
Rank 1
answered on 26 Aug 2010, 08:45 AM
Hello Maya,

my scenario is our data grid don't load all the data from web service. we have expanded RadGridView to implement paging and sorting function. In fact, only one page size rows is kept in the RadGridView.ItemSource.

For GroupBy function, we also want to implement like paging and sorting.  At first loaded, the  RadGridView  only have one page size
rows and displayed in the screen.  when user drags a column to the groupby area, first we will get all the distinct values of this column from web service. we hope we could generate all the groups according to the distinct values same as RadGridView  group by local data. if we expand one group, we will get row data from web service by group information and insert the returned data to this group.

could you provide me with a possible workaround?  Thanks very much

Thanks,
Weiqi
0
Weiqi
Top achievements
Rank 1
answered on 30 Aug 2010, 04:11 AM


any feedback?
0
Maya
Telerik team
answered on 30 Aug 2010, 01:48 PM
Hello Weiqi,

Following up your requirements, I get the impression that you are trying to achieve load-on-demand functionality when expanding the groups in RadGridView. If that is the case, it would be quite undesirable scenario to achieve as in this case you would not be able to implement aggregates, to get the number of row, etc. Thus I would not recommend its accomplishment. However, if this is not exactly your demand, please give us a bit more information with the exact requirements or if it is possible, provide us with a sample project so that we are aware of your accurate expectations and purposes. 

 
Regards,
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
Tags
GridView
Asked by
Weiqi
Top achievements
Rank 1
Answers by
Maya
Telerik team
Weiqi
Top achievements
Rank 1
Share this question
or