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:[email protected]]
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