0 Replies Latest reply on Apr 27, 2007 1:25 AM by _smare

    Access an object in a arraycollection set as dataprovider

    _smare
      Hi,

      I'm having trouble accessing an object, which is inside an arraycollection and that arraycollection is bound to a datagrid dataprovider.
      One item in the arraycollection looks like this for example:
      (string) value1="foo"
      (string) value2="bar"
      (object) myobject=
      myobject.value1="fooobject"
      myobject.value2="barobject"

      The rendering in the datagrid work for the simple string value:
      dataField="value1" --> shows "foo"

      Now how do I access the object value
      I tried:
      dataField="myobject.value1" --> nothing shown
      What does the datagrid dataField methode do exactly with the value passed.

      Thanks in advance for any reply.
      Daniel