flex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mark goldin <markzolo...@gmail.com>
Subject Re: ADG - access row data
Date Thu, 06 Nov 2014 15:09:25 GMT
But the data that comes in is actually an XMLList which means set data
receives the whole node, but I need to work on a single row (node element).

On Thu, Nov 6, 2014 at 2:33 AM, <Mario.Specht@bertelsmann.de> wrote:

> Hi,
>
> what do you mean if you write row data? If you want to access the
> underlying data object, you can override the "set data" function in your
> custom item renderer:
>
>         // Override super function
>                         override public function set
> data(value:Object):void
>                         {
>                                 super.data = value;
>
>
>                                 var quantity:Number =
> Number(listData.quantity);
> }
>
> You can then access the object via the listData attribute. This contains
> yout underlying data object.
>
> Hope it helps.
>
>
>
> ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
> Follow us on Twitter (@arvatosystems) • LinkedIn • Google+ • Xing
>
> ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
> arvato Systems GmbH: Sitz Gütersloh | Amtsgericht Gütersloh HRB 3981
> Geschäftsführer: Birger T. Aasland | Thomas Kathöfer
>
> ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
> Bitte denken Sie über Ihre Verantwortung gegenüber der Umwelt nach, bevor
> Sie diese E-Mail ausdrucken!
>
>
> -----Ursprüngliche Nachricht-----
> Von: mark goldin [mailto:markzolotoy@gmail.com]
> Gesendet: Mittwoch, 5. November 2014 20:53
> An: users
> Betreff: ADG - access row data
>
> I am using a custom item renderer for an advanced datagridcolumn. How can I
> access row data when grid is rendered to the screen?
>
> Thanks
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message