A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Assessing nested objects in datagrid
Joined: May 28, 2008
Oct 21, 2010 03:51:30
Inside my datagrid I am able to do the following
<mx:DataGridColumn headerText="StudentName" dataField="student.studentName"/>
but I am unable to do the following
<mx:DataGridColumn headerText="Permanent Zipcode" dataField="address.zipcode" /> <mx:DataGridColumn headerText="Current Zipcode" dataField="address.zipcode" />
Basically I am able to display data from an arraycollection which again contains an object but I am not able to display if the object is again an array.
Is there a way to do that other than using action script ?
It is sorta covered in the
JavaRanch Style Guide
subject: Assessing nested objects in datagrid
Checkbox within a grid - How to get row number
Passing Flex objects to Java
Getting data from actionscript class file into Datagrid
How to display HyperLink on the DataGrid Component on to the column data
having components based on Data Grid's column value.
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014