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
1690
How to refresh xamGrid row (MVVM) ?
posted

Hi,

I have a xamGrid binded to IEnumerable collection. Clicking on grid row I open a dialog window (childWindow) where user can change some values of the current record. I would like to change some cells in current grid row after dialog window is closed. I am able to change values in the collection but grid still displays old values. 

How can I do it ?

Thanks,

Ed

Parents
  • 6759
    Offline posted

    Hi Ed,

    what do you mean by saying "change some cells in current grid"? If you mean the underlying data source objects or the cells more like a UI Elements ?

    1. If you're talking about the data object changes - they should immediately be updated in the XamGrid only if they have a proper implementation of INotifyPropertyChanged interface.
    2. If you mean changing things in the UI elements - you need to specify which things you need changed, a sample solution illustrating your scenario would be best.

    Regards,

Reply Children