DaveC426913
25 Oct 2010, 9:45 AM
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?
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?