Sorry about this post. I have solved this problem. Raf
--- In [email protected], "Rafael Faria" <[EMAIL PROTECTED]> wrote: > > Hey guys, > > me again :) > > I'm building an advanceddatagrid and i got to a problem. > > my dataprovider is an arraycollection of objects with objects inside > objects. > ok let me simplify. > > its something like > > ArrayCollection > - Array > - Object 1 > - field 1 > - field 2 > - field 3 (object) > - field 1 > - field 2 > - field 4 > > - Object 2 > - field 1 > - field 2 > - field 3 (object) > - field 1 > - field 2 > - field 4 > > > and so on... > > when i try to test it, using the labelFunction like the following code > > advColumn.labelFunction = function(item:Object, > column:AdvancedDataGridColumn):String { > trace(ObjectUtil.toString(item)); > return null; > } > > my trace comes something like > Object > - field 1 = "bla bla"; > - field 2 = "foo foo"; > - field 3 = "[Object Object]"; > - field 4 = "boo boo"; > > > My question is, why flex convert my object on field 3 to "string"? > shouldnt it just preserve the value? > > how can i get that object.field3 as an object inside the labelFunction? > > thanks > > raf >

