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
1921
Cell Value not updating when auto expanded
posted

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

 

 

 

CellValueNotUpdateReproduce.zip
Parents
No Data
Reply
  • 69686
    posted

    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

Children