From f610d8078baaca8004b0989251833c0f6b7d3a05 Mon Sep 17 00:00:00 2001 From: Marcin Warpechowski Date: Wed, 31 Jul 2013 09:37:58 +0200 Subject: [PATCH] Fix a bug introduced in 0.3.14 (some of the options were not correct). --- src/angular-ui-handsontable.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/angular-ui-handsontable.js b/src/angular-ui-handsontable.js index 3f83eee2..15fde78d 100644 --- a/src/angular-ui-handsontable.js +++ b/src/angular-ui-handsontable.js @@ -41,7 +41,7 @@ angular.module('uiHandsontable', []) }) .directive('uiHandsontable', function ($compile, $rootScope, getHandsontableSettings) { - var htOptions = ["data", "width", "height", "startRows", "startCols", "minRows", "minCols", "maxRows", "maxCols", "minSpareRows", "minSpareCols", "multiSelect", "fillHandle", "fixedRowsTop", "fixedColumnsLeft", "undo", "outsideClickDeselects", "enterBeginsEditing", "enterMoves", "tabMoves", "autoWrapRow", "autoWrapCol", "copyRowsLimit", "copyColsLimit", "pasteMode", "currentRowClassName", "currentColClassName", "stretchH", "isEmptyRow", "isEmptyCol", "observeDOMVisibility", "allowInvalid", "invalidCellClassName", "fragmentSelection", "readOnly"]; + var htOptions = ['data', 'width', 'height', 'rowHeaders', 'colHeaders', 'colWidths', 'columns', 'cells', 'dataSchema', 'contextMenu', 'onSelection', 'onSelectionByProp', 'onBeforeChange', 'onChange', 'onCopyLimit', 'startRows', 'startCols', 'minRows', 'minCols', 'maxRows', 'maxCols', 'minSpareRows', 'minSpareCols', 'multiSelect', 'fillHandle', 'undo', 'outsideClickDeselects', 'enterBeginsEditing', 'enterMoves', 'tabMoves', 'autoWrapRow', 'autoWrapCol', 'copyRowsLimit', 'copyColsLimit', 'currentRowClassName', 'currentColClassName', 'asyncRendering', 'stretchH', 'columnSorting', 'manualColumnMove', 'manualColumnResize', 'fragmentSelection']; var scopeDef = { selectedIndex: '=selectedindex'