ObservableCollection and INotifyPropertyChanged in JavaScript Metro apps RRS feed

  • Question

  • Guys, I'm going to implement some common scenarios of data binding. In traditional XAML apps, I can create an ObservableCollection and bind it to a list control, and the every element in the collection implements the INotifyPropertyChanged interface, which has the ability to notify the updates of the property. But in JavaScript metro apps how should I implement that? I know there's a WinJS.Binding.List class and it can be used as a ObservableCollection, but how can I create an object which could tell the control it's updated?


    Happy programming, happy life.

    Sunday, April 1, 2012 7:01 AM


All replies