Alex,
Long long ago i raised an issue regarding, the cell value not get updating when the underlying
object get change. I created a solution for reproduce that issue and attached with this post.
Please check it.
Step to reproduce:
1. Run the program. (The grid will appear with expanded child records)
2. Click th the 'Change mark' button (three or more time). This time the underlying value is changing but
the value not reflecting in cells. (the First record should change but not happen)
3. Now just collapse the first record and expand the same (using expandable Record - or +)
4. Now You can see the actual value.
5. Hereafter whenever you click the 'Change mark' button the value getting update properly.
How is this? is any problem with my code?
Sorry for long post.
Regards,
Ramesh.P
Hello Ramesh,
Thank you for providing this sample. The Value is updated correctly when I run the sample. I am using the latest Service Release version (9.1.20091.2075). From your code, I can see that you have implemented INotifyPropertyChanged, so I really do not see a reason why this should not be working correctly with you. I believe we had couple of issue fixed with the ObservableCollection, so you might want to try with the Service Release. Before you do that, please try replacing the ObservableCollection<T> with BindingList<T>.
Please let me know if the problem still exists after installing the latest Service Release for 9.1
I am using 9.1.20091.2049 version of service release.
And i changed all ObservableCollection<T> to BindingList<T> but the issue remain same.
If i comment the Line No. 56 in Page1.xaml.cs (Add Initializerecord event hanlder).
After that is working fine. But i need to open the grid in expanded form when loading.
(that is requirement)
by
Ramesh,
I tested this on XP with the Release Version (9.1.20091.1006) and it is still working correctly. At this point I would suggest submitting a support request and giving all the needed information to the support team and they try to reproduce this.
Thanks.
Today i installed 9.1.20091.2075 service release.
There is no change in behaviour.
is any OS problem?
I am using xp.