I have this working to the point that I am creating a grid of 7 columns and the 
appropriate number of rows to display all records returned from the 
remoteObject.  

As one might guess this will be an event calendar type display.  Now I just 
need to figure out how I use the dayFormat.mxml file I created when I started 
with the Phones example and use it for the content of the GridItem cells 
instead of the simple label I have in there now.  Or do I just copy that entire 
file's code into the main.mxml file fragment I've included here?

<mx:Grid width="100%" backgroundColor="yellow">
  <mx:Repeater id="weekRows" dataProvider="{weeksAry}">
    <mx:GridRow width="100%">
      <mx:Repeater 
          id="dayCells" 
          dataProvider="{days}" 
          startingIndex="{weekRows.currentItem}"
          count="7">
        <mx:GridItem width="14%" backgroundColor="blue">
          <mx:Label text="{Day.format(dayCells.currentItem.date)}" />
        </mx:GridItem>
      </mx:Repeater> 
    </mx:GridRow>
  </mx:Repeater>
</mx:Grid>

I'd stick with using VOs over records, gives you that nice OO warm fuzzy 
feeling.  Columns fixed at 7, it seems.  So return a array of objects that are 
the parents that have the data for the grid.  Note that these have 7 instance 
variables that will populate your grid columns.  Each of these can have a array 
of other objects for your tile list.

DK

On 6/23/06, Ian Skinner <[EMAIL PROTECTED]> wrote:
> I have an object (coming from a ColdFusion CFC) that contains an array 
> of objects that can be 28, 35 or 42 elements long.  I would like to 
> display this in a grid 7 columns wide and 4, 5 or 6 rows as 
> appropriate.  Each of these objects will contain a record set or 
> another array of objects (I have not decided yet) that I will then 
> want to pass to a tilelist inside each grid cell.
>
> I can not see how to even start this kind of display.  Any help would 
> be most appreciated.


--------------
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA

---------
| 1 |   |
---------  Binary Soduko
|   |   |
---------
 
"C code. C code run. Run code run. Please!"
- Cynthia Dunning

Confidentiality Notice:  This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message. 




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:37:2849
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/37
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:37
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.37
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to