From Markup Grid Example

This example shows how to create a grid with from an existing, unformatted HTML table.

Note that the js is not minified so it is readable. See transform-dom.js.

Name Age Sex
Barney Rubble 32 Male
Fred Flintstone 33 Male
Betty Rubble 32 Female
Pebbles 1 Female
Bamm Bamm 2 Male