Skip to content

Instantly share code, notes, and snippets.

@quadrophobiac
Created September 17, 2015 10:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save quadrophobiac/6e8a842ed79315e1c8bd to your computer and use it in GitHub Desktop.
Save quadrophobiac/6e8a842ed79315e1c8bd to your computer and use it in GitHub Desktop.
Cosmetic Change to Handsontable in Comma Chameleon
var hot = new Handsontable(container, {
colHeaders: true,
- rowHeaders: true,
+ rowHeaders: function(index) {
+ if (index === 0){
+ return "Header";
+ } else {
+ return index;
+ }
+ },
+ fixedRowsTop: 1,
columnSorting: true,
contextMenu: false
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment