Grouping issue in WPF radgridview, some groups will automatically expand

2 posts, 0 answers
  1. Nguyen
    Nguyen avatar
    1 posts
    Member since:
    Aug 2014

    Posted 18 Mar 2015 Link to this post

    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.

  2. Stefan
    Admin
    Stefan avatar
    1073 posts

    Posted 21 Mar 2015 Link to this post

    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.

     
Back to Top