Your sample didn't show a call to setValue(). The list calls setValue with the object from the dataprovider. Your setValue call would set the singleGroup variable. See cell renderer examples for implementations of setValue
--- In [email protected], "jeremybruck" <[EMAIL PROTECTED]> wrote: > Everyone, > > This one has unfortunately has had me beating my head against a wall > and I am sure it is something little. I have a TileList that I am > trying to pass an array of objects (gotten from remote AMF call to > CFMX CFC) to the cellRenderer and am having problems seeing the object > in the cellRenderer. The problem is my Object in the cellRenderer is > just showing everything as undefined. > > I originally had this as a repeater and it worked great, but now I > need it as 2 columns of data and thus the TileList is a good solution. > > Here is the code: > <mx:TileList id="groupList" cellRenderer="selectableGroupList" > dataProvider="{myGroups}" width="100%" > height="{distributionTab.height*.20}" itemWidth="350" itemHeight="20" > columnCount="2"/> > > CellRenderer Code: > <?xml version="1.0" encoding="utf-8"?> > <mx:VBox xmlns:mx="http://www.macromedia.com/2003/mxml" width="100%" > height="100%"> > <mx:Script> > <![CDATA[ > var singleGroup:Object; > ]]> > </mx:Script> > > <mx:CheckBox id="groupID" label="{singleGroup.groupname}" /> > </mx:VBox> > > Here is a sampling of the Array of Objects that is the variable: > myGroups > [0] (object #3) > b_fname: "Jeremy" > b_lname: "Bruck" > g_buyercid: 18946 > groupname: "Bearing Cage Coders" > grouptype: "I" > nameid: 30048 > suppliercount: 4 > [1] (object #4) > b_fname: "Jeremy" > b_lname: "Bruck" > g_buyercid: 18946 > groupname: "Group Test" > grouptype: "I" > nameid: 30034 > suppliercount: 5 > > > Thanks, > Jeremy Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

