I've got my scrolling list of items, which are currently just text. I can add to the list easily enough:

list.add({html:item.getAttribute("name")});
(list is simply a container)

Now I want to make the line items into more complex structures, so that each item is comprised of several columns: item, department, a checkbox and a button. Not sure how to go about it. Presumably, I'll be making a line item class. Can I add an entire structure to my list?

MiamiCoder

25 Oct 2010, 12:14 PM

Yes. Templates is a way to accomplish what you need.

DaveC426913

26 Oct 2010, 5:20 AM

Not really sure how. The "example" just lists snippet of code, but there's no explanation of how or why to use templates.