tbranyen/layoutmanager-example — Issue #3: Div as tagName inside an item view
Author: ryancp
Created: 2012-02-05 21:55:37+00:00
State: open

Inside User.Views.List, you iterate through the collection and insert the entire list into a "ul".

And inside User.Views.Item, you set the tagName to "li".

Instead of a "ul", I would like to have my items be inside of a "div", and then my individual items also be inside of a "div".

But I tried this and it was re-rendering all the items inside of the div, for each item. IOW, for the first user, it would render every user, and the second user, it would render every user, etc.

How can I achieve a parent DIV with a list child DIV items? Or must the tags be different to render correctly?

Thanks for your help.