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

Grouping issue in WPF radgridview, some groups will automatically expand

1 Answer 111 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Nguyen
Top achievements
Rank 1
Nguyen asked on 19 Mar 2015, 04:53 AM

Hi telerik support,

- In radgridview, when I apply grouping, some groups will automatically expand even if i scroll data (using EnableRowVirtualization = true). 
I just want to expand the group when i click header group. 
- Other hand, when grouping I select a record and update this record in code, the issues is UI not updated so i must use method ReBind().
(with same step, if i don't group data, everything is okay)
 - Please tell me some infomation about grouping in radgridview.

Thanks a lot.

1 Answer, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 21 Mar 2015, 12:06 PM
Hello Nguyen ,

Since I do not know your exact project setup I am not able to reproduce the automatically expanding groups issue. | am attaching a sample project in which the grouping functionality is working fine. Can you please modify it in a way that reproduces this scenario.

As for your second question concerning the UI to be updated. Rebinding is a possible solution but will degrade the performance of RadGridView. The recommended way to update the UI when a value is being changed in code is to raise the CollectionChanged event of RadGridView Items collection. This can be achieved by calling EditItem and CommitEdit methods. Please refer to the Edit an item outside RadGridView documentation article to check how to properly use them.

I am looking forward to your answer.

Kind Regards,
Stefan
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
GridView
Asked by
Nguyen
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Share this question
or