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
615
UnboundField: Change DataBinding during runtime
posted

Hello,

I need to change the databinding of UnboundFields during runtime. Unfortunately the fields do not show the changes right away. But when I change visibility of the field from visible to unvisible and back to visible, the values of the new databinding are shown.

How can I force the fields or the grid to update their bindings so that the correct values are shown?

thanks, Florian

Parents
No Data
Reply
  • 138253
    Offline posted

    Hello Florian,

     

    It has been a while since you have made your post, in case you still need support I will be glad to assist you further. I suppose the other community members can benefit from this answer as well. I have been looking through your post and I suggest you set the UnboundField to a new instance of the class and then set the new Binding, because the UnboundField class doesn’t implement INotifyPropertyChanged interface and that is why such behavior like yours occurs.

     

    Feel free to write me if you have further questions.

Children
No Data