0 Replies Latest reply on Aug 12, 2008 6:49 AM by anoweb

    Error #1069: Property data not found

      I have a DataGrid and one of the columns has a custom ComboBox item editor. The ComboBox's dataProvider is bound to an ArrayCollection. the ArrayCollection contains PersonVO objects.

      class PersonVO {
      public var name:String;
      public var age:int;

      The combobox has the "labelField" set to "name". When I select an item in the combobox, everything is ok. But once I move out of the combobox and click elsewhere I get:

      ReferenceError: Error #1069: Property data not found on com.foo.PersonVO and there is no default value.

      Any idea what's causing this? I realize it's looking for a "data" property, but why?

      The error originates in
      at mx.controls::ComboBase/get value()[C:\adobe flex\3.0.x\frameworks\projects\framework\src\mx\controls\ComboBase.as:880]