Canvas-grid
Draw a grid on canvas and be able to interact with rows, and columns as well as get data about the grid.
Usage
var CanvasGrid = ;var cvs = document;var grid = cvsborderColor: '#777';var activeColor = '#ff0beb';grid;cvs;
Available Methods:
- drawRow: args[y axis, # of columns, width of cells];
- drawMatrix: args[Object with attrs "x"(# of columns) & "y"(# of rows)]
- fillCell: args[columnNumber, rowNumber, color(string, hex or rgba)]
- clearCell: args[columnNumber, rowNumber]
Example
http://davejustice.com/canvas-grid
License
MIT