Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
105
How to keep expanded GroupByRecords still open after refreshing
posted

 Hi,

I am facing an issue, that is, how to keep the expanded records(when existed groupin) still open after refreshing? for example, I have such a grid with 3 fields(columns) and some records below:

Name   Age   Description

John     25     Sr. Developer

John     26     Tester

Andy    28      Project Manager

Susie   26     Developer

Andy    30     Dev. Manager

 Supposed currently a user has grouped it by Name and Age fields, and has expanded the group with the name of John to the lowest level. now my question is how to keep such an expanded group state and the active record after refreshing? sure, there is another question, that is how to make XamDataGrid refresh automatically once there is any changes to the underlying data source when using data binding?

Anyone knows how to achieve that? Thanks your any help!

Corin

  • 138253
    Offline posted

    Hello Corin,

    Thank you for your post. I have been looking through it and I suggest you implement INotifyPropertyChange interface in your data Classes in order to ensure that the changes made in the underlying data will reflect in the XamDataGrid. Also it seems like that if the data is refreshed, such behavior like your doesn’t occur on my side. If this is still an issue could you please provide me with an isolated sample project, so that I can investigate it further for you. Please note, we are making efforts to ensure all posts are addressed by an Infragistics expert. We believe that the other community members could benefit from this thread as well.

    Feel free to write me if you need further assistance.