Skip to content

Instantly share code, notes, and snippets.

View ryanwjackson's full-sized avatar

Ryan ryanwjackson

  • Paid
  • San Francisco, CA
View GitHub Profile
@ryanwjackson
ryanwjackson / gist:6108488
Created July 29, 2013 22:30
Handsontable Implementation
$(document).ready(function() {
var handson_table_data = []
var container = $("#edit-metrics-handson-table")
var renderResponse = function (instance, td, row, col, prop, value, cellProperties) {
if (row == 0 || col == 0) {
cellProperties.readOnly = true;
@ryanwjackson
ryanwjackson / gist:6107335
Created July 29, 2013 20:09
HandsonTable Custom Render
$(document).ready(function() {
var container = $("#edit-metrics-handson-table")
var renderResponse = function (instance, td, row, col, prop, value, cellProperties) {
if (row == 0 || col == 0) {
cellProperties.readOnly = true;
}