SitePen/dgrid — pull request #36 by kfranqueiro (2011-10-21 03:59:41+00:00)
Title: Multi-view and To-do List Demos

I've created two demos showing off some slightly interesting applications of dgrid.

The multiview demo demonstrates hot-swapping different `renderRow` implementations for the purpose of rendering the same data items in different fashions in a single Grid instance.

The todo list demo...renders a todo list. Because every project has to have a demo that renders a todo list. This one has DnD enabled to allow moving of items up and down the list, and a checkbox field to allow checking off completed items. Items may be removed based on selection or completion. It also persists to localStorage if available, so one could maybe remotely fathom actually *using* this as a simple todo list.