Can you control the xml?  If so, I would put the information for the pairs
of books together under a single node, then use a List with a custom Item
renderer to display  the data for the pair.

 

Tracy Spratt,

Lariat Services, development services available

  _____  

From: [email protected] [mailto:[email protected]] On
Behalf Of agaboogaboo
Sent: Sunday, August 23, 2009 7:13 PM
To: [email protected]
Subject: [flexcoders] Datagrid - advancing items in a row?

 

  

Overview: I want a datagrid, formed by data in an XML file, that displays
things in 3 coloumns and 2 rows. The goal is to show 6 items.

Example: I have 6 books, each has an author, title, and sales count. I want
to display these 6 books in 2 rows and 3 columns, creating 6 spots for each
book's image, and 3 text fields.

Datagrid normally just displays 1 book per row, and then the columns are
used for information like author, title and sales count.

How can I create a datagrid and force it to look at the next XML item
(book), while I'm still in the same row?



Reply via email to