1 Reply Latest reply on Jun 12, 2007 2:49 PM by schjlatah

    Problems with databinding and ArrayCollection

    adambrod
      Hi-

      We have a singleton ModelLocator that is [Bindable]. It has a public IList property called users. We have a DataGrid that has a dataProvider="{modelLocator.users}". Sometimes when we call modelLocator.users.addItem(...), the DataGrid doesn't show the changes. Is there any reason that this shouldn't work? The only way we can get it to work is to create a new IList and call modelLocator.users = someNewList. I'd prefer not to reassign the users property.

      Thanks for any help!
      Adam