metasansana/engrid — pull request #1 by latentPrion (2014-04-28 03:32:49+00:00)
Title: Rough initial grid generator

Initial grid generator. TBH, this looks more like the base for the whole grid class itself, rather than a "generator" class.

var ggen = new GridGenerator(CONTAINER_ELEMENT, NUM_ROWS, NUM_COLS);

// Pretty simple. "initializeGrid" actually generates the grid elements (table, tbody, trs, tds).
ggen.inintializeGrid();