Created
September 17, 2015 10:59
-
-
Save quadrophobiac/6e8a842ed79315e1c8bd to your computer and use it in GitHub Desktop.
Cosmetic Change to Handsontable in Comma Chameleon
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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