Render any Backbone.js Collection as an HTML table. No rocket science here; basically just a Backbone.View wrapper around an Underscore.js template.
-
Rudimentary example, stepping through the basics: http://jsfiddle.net/jsvine/jk57F/
-
Slightly fancier example, having fun with getFormatted functions: http://jsfiddle.net/jsvine/dJcae/
-
"Advanced" example, using getValue functions to help with table-sorting: http://jsfiddle.net/jsvine/P9SwZ/
-
Each column's optional getValue accepts a function, the return value of which sets each cell's value attribute. Useful for table-sorting. See this interactive demo for an example.
-
Looking for dummy data? Try vertebrates.js.