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
1100
Serious issue of data not visually refreshing in child tables.
posted

My XamDataGrid uses a DataSet. The idea behind this issue is the XamDataGrid doesn't consistently refresh the visual data of child tables when the underlying dataset changes. I have attached a sample that will reproduce the issue by taking the following steps:

1) Build and run the sample.

2) Expand all records (should be 3 levels deep).

3) Contract the second topmost record (Mary Hernandez).

4) Re-expand the second topmost record (Mary Hernandez). On a semi-related side note, the vertical scrollbar will incorrectly disappear.

5) Press the Change Data button. The underlying Name field for all the providers is changed; however, no change will be seen for Mary Hernandez.

6) For an added bonus, click on one of Mary Hernandez's providers and watch the screen automatically scroll to infinity and beyond (without a scrollbar even).

Please help. The data issue (and the scrolling issue as well) are causing major problems right now.

Thanks.

 

P.S. The project is called Office2kLineDemo... so don't worry you have the right project despite its name.

DataRefreshIssue.zip
Parents
No Data
Reply
  • 54937
    Offline posted

    I was able to reproduce the issues you mentioned and wrote this up for review. I found that calling GC.Collect(2) before executing the changes works around the issue for now.

Children