Building a CompositeView

Learn how to create tables in Marionette using CompositeView.

Now that we’ve done some house cleaning in our codebase, let’s display our contacts within a table. We already have our contacts in a collection, so we simply need to render a tr DOM element for each one of them.

Creating a template for a table row

Let’s modify the contact template to make it generate the contents for a table row:

Get hands-on with 1400+ tech skills courses.