handsontable 12.1.3 → 12.3.0-next-bb1a7c2-20221208
Sign up to get free protection for your applications and to get access to all the features.
- package/3rdparty/SheetClip/SheetClip.js +3 -32
- package/3rdparty/SheetClip/SheetClip.mjs +3 -23
- package/3rdparty/SheetClip/index.js +0 -2
- package/3rdparty/autoResize/autoResize.js +119 -145
- package/3rdparty/autoResize/autoResize.mjs +119 -143
- package/3rdparty/autoResize/index.js +0 -2
- package/3rdparty/walkontable/src/border.js +44 -154
- package/3rdparty/walkontable/src/border.mjs +41 -136
- package/3rdparty/walkontable/src/calculator/constants.js +0 -3
- package/3rdparty/walkontable/src/calculator/constants.mjs +0 -2
- package/3rdparty/walkontable/src/calculator/index.js +0 -10
- package/3rdparty/walkontable/src/calculator/viewportColumns.js +36 -77
- package/3rdparty/walkontable/src/calculator/viewportColumns.mjs +36 -70
- package/3rdparty/walkontable/src/calculator/viewportRows.js +30 -49
- package/3rdparty/walkontable/src/calculator/viewportRows.mjs +30 -42
- package/3rdparty/walkontable/src/cell/coords.d.ts +1 -1
- package/3rdparty/walkontable/src/cell/coords.js +73 -65
- package/3rdparty/walkontable/src/cell/coords.mjs +73 -60
- package/3rdparty/walkontable/src/cell/range.d.ts +19 -16
- package/3rdparty/walkontable/src/cell/range.js +251 -231
- package/3rdparty/walkontable/src/cell/range.mjs +251 -222
- package/3rdparty/walkontable/src/core/_base.js +30 -74
- package/3rdparty/walkontable/src/core/_base.mjs +30 -67
- package/3rdparty/walkontable/src/core/clone.js +11 -44
- package/3rdparty/walkontable/src/core/clone.mjs +11 -32
- package/3rdparty/walkontable/src/core/core.js +8 -56
- package/3rdparty/walkontable/src/core/core.mjs +8 -38
- package/3rdparty/walkontable/src/event.js +41 -79
- package/3rdparty/walkontable/src/event.mjs +41 -66
- package/3rdparty/walkontable/src/facade/core.js +14 -16
- package/3rdparty/walkontable/src/facade/core.mjs +14 -13
- package/3rdparty/walkontable/src/filter/column.js +22 -17
- package/3rdparty/walkontable/src/filter/column.mjs +22 -16
- package/3rdparty/walkontable/src/filter/row.js +22 -17
- package/3rdparty/walkontable/src/filter/row.mjs +22 -16
- package/3rdparty/walkontable/src/index.js +0 -31
- package/3rdparty/walkontable/src/overlay/_base.js +38 -69
- package/3rdparty/walkontable/src/overlay/_base.mjs +38 -61
- package/3rdparty/walkontable/src/overlay/bottom.js +38 -103
- package/3rdparty/walkontable/src/overlay/bottom.mjs +38 -88
- package/3rdparty/walkontable/src/overlay/bottomInlineStartCorner.js +12 -52
- package/3rdparty/walkontable/src/overlay/bottomInlineStartCorner.mjs +12 -37
- package/3rdparty/walkontable/src/overlay/constants.js +0 -6
- package/3rdparty/walkontable/src/overlay/constants.mjs +0 -1
- package/3rdparty/walkontable/src/overlay/index.js +0 -17
- package/3rdparty/walkontable/src/overlay/inlineStart.js +26 -90
- package/3rdparty/walkontable/src/overlay/inlineStart.mjs +26 -75
- package/3rdparty/walkontable/src/overlay/top.js +37 -104
- package/3rdparty/walkontable/src/overlay/top.mjs +37 -89
- package/3rdparty/walkontable/src/overlay/topInlineStartCorner.js +14 -55
- package/3rdparty/walkontable/src/overlay/topInlineStartCorner.mjs +14 -40
- package/3rdparty/walkontable/src/overlays.js +124 -145
- package/3rdparty/walkontable/src/overlays.mjs +124 -135
- package/3rdparty/walkontable/src/renderer/_base.js +17 -19
- package/3rdparty/walkontable/src/renderer/_base.mjs +17 -17
- package/3rdparty/walkontable/src/renderer/cells.js +15 -53
- package/3rdparty/walkontable/src/renderer/cells.mjs +15 -39
- package/3rdparty/walkontable/src/renderer/colGroup.js +15 -46
- package/3rdparty/walkontable/src/renderer/colGroup.mjs +15 -34
- package/3rdparty/walkontable/src/renderer/columnHeaders.js +13 -49
- package/3rdparty/walkontable/src/renderer/columnHeaders.mjs +13 -37
- package/3rdparty/walkontable/src/renderer/index.js +26 -35
- package/3rdparty/walkontable/src/renderer/index.mjs +26 -22
- package/3rdparty/walkontable/src/renderer/rowHeaders.js +13 -49
- package/3rdparty/walkontable/src/renderer/rowHeaders.mjs +13 -36
- package/3rdparty/walkontable/src/renderer/rows.js +11 -49
- package/3rdparty/walkontable/src/renderer/rows.mjs +11 -32
- package/3rdparty/walkontable/src/renderer/table.js +35 -48
- package/3rdparty/walkontable/src/renderer/table.mjs +35 -47
- package/3rdparty/walkontable/src/scroll.js +69 -86
- package/3rdparty/walkontable/src/scroll.mjs +69 -84
- package/3rdparty/walkontable/src/selection.js +28 -103
- package/3rdparty/walkontable/src/selection.mjs +26 -83
- package/3rdparty/walkontable/src/settings.js +25 -31
- package/3rdparty/walkontable/src/settings.mjs +25 -29
- package/3rdparty/walkontable/src/table/bottom.js +6 -34
- package/3rdparty/walkontable/src/table/bottom.mjs +6 -19
- package/3rdparty/walkontable/src/table/bottomInlineStartCorner.js +6 -34
- package/3rdparty/walkontable/src/table/bottomInlineStartCorner.mjs +6 -19
- package/3rdparty/walkontable/src/table/inlineStart.js +6 -34
- package/3rdparty/walkontable/src/table/inlineStart.mjs +6 -19
- package/3rdparty/walkontable/src/table/master.js +15 -54
- package/3rdparty/walkontable/src/table/master.mjs +15 -38
- package/3rdparty/walkontable/src/table/mixin/calculatedColumns.js +1 -16
- package/3rdparty/walkontable/src/table/mixin/calculatedColumns.mjs +1 -14
- package/3rdparty/walkontable/src/table/mixin/calculatedRows.js +1 -16
- package/3rdparty/walkontable/src/table/mixin/calculatedRows.mjs +1 -14
- package/3rdparty/walkontable/src/table/mixin/stickyColumnsStart.js +1 -10
- package/3rdparty/walkontable/src/table/mixin/stickyColumnsStart.mjs +1 -8
- package/3rdparty/walkontable/src/table/mixin/stickyRowsBottom.js +1 -11
- package/3rdparty/walkontable/src/table/mixin/stickyRowsBottom.mjs +1 -9
- package/3rdparty/walkontable/src/table/mixin/stickyRowsTop.js +1 -10
- package/3rdparty/walkontable/src/table/mixin/stickyRowsTop.mjs +1 -8
- package/3rdparty/walkontable/src/table/top.js +6 -34
- package/3rdparty/walkontable/src/table/top.mjs +6 -19
- package/3rdparty/walkontable/src/table/topInlineStartCorner.js +6 -34
- package/3rdparty/walkontable/src/table/topInlineStartCorner.mjs +6 -19
- package/3rdparty/walkontable/src/table.js +73 -233
- package/3rdparty/walkontable/src/table.mjs +71 -210
- package/3rdparty/walkontable/src/types.js +0 -5
- package/3rdparty/walkontable/src/types.mjs +0 -5
- package/3rdparty/walkontable/src/utils/column.js +18 -30
- package/3rdparty/walkontable/src/utils/column.mjs +18 -25
- package/3rdparty/walkontable/src/utils/nodesPool.js +16 -11
- package/3rdparty/walkontable/src/utils/nodesPool.mjs +16 -10
- package/3rdparty/walkontable/src/utils/orderView/constants.js +0 -3
- package/3rdparty/walkontable/src/utils/orderView/constants.mjs +0 -2
- package/3rdparty/walkontable/src/utils/orderView/index.js +0 -5
- package/3rdparty/walkontable/src/utils/orderView/sharedView.js +7 -32
- package/3rdparty/walkontable/src/utils/orderView/sharedView.mjs +7 -21
- package/3rdparty/walkontable/src/utils/orderView/view.js +27 -45
- package/3rdparty/walkontable/src/utils/orderView/view.mjs +27 -42
- package/3rdparty/walkontable/src/utils/orderView/viewSize.js +16 -14
- package/3rdparty/walkontable/src/utils/orderView/viewSize.mjs +16 -13
- package/3rdparty/walkontable/src/utils/orderView/viewSizeSet.js +21 -21
- package/3rdparty/walkontable/src/utils/orderView/viewSizeSet.mjs +21 -18
- package/3rdparty/walkontable/src/utils/row.js +15 -12
- package/3rdparty/walkontable/src/utils/row.mjs +15 -11
- package/3rdparty/walkontable/src/viewport.js +51 -99
- package/3rdparty/walkontable/src/viewport.mjs +51 -96
- package/CHANGELOG.md +99 -1
- package/base.d.ts +1 -0
- package/base.js +11 -17
- package/base.mjs +10 -11
- package/cellTypes/autocompleteType/autocompleteType.js +0 -4
- package/cellTypes/autocompleteType/index.js +0 -2
- package/cellTypes/checkboxType/checkboxType.js +0 -3
- package/cellTypes/checkboxType/index.js +0 -2
- package/cellTypes/dateType/dateType.js +0 -4
- package/cellTypes/dateType/index.js +0 -2
- package/cellTypes/dropdownType/dropdownType.js +0 -4
- package/cellTypes/dropdownType/index.js +0 -2
- package/cellTypes/handsontableType/handsontableType.js +0 -3
- package/cellTypes/handsontableType/index.js +0 -2
- package/cellTypes/index.js +0 -21
- package/cellTypes/index.mjs +0 -1
- package/cellTypes/numericType/index.js +0 -2
- package/cellTypes/numericType/numericType.js +0 -4
- package/cellTypes/passwordType/index.js +0 -2
- package/cellTypes/passwordType/passwordType.js +0 -3
- package/cellTypes/registry.js +10 -25
- package/cellTypes/registry.mjs +10 -20
- package/cellTypes/textType/index.js +0 -2
- package/cellTypes/textType/textType.js +0 -3
- package/cellTypes/timeType/index.js +0 -2
- package/cellTypes/timeType/timeType.js +0 -4
- package/core.d.ts +6 -2
- package/core.js +714 -1070
- package/core.mjs +717 -1015
- package/dataMap/dataMap.js +202 -236
- package/dataMap/dataMap.mjs +201 -209
- package/{dataSource.js → dataMap/dataSource.js} +29 -65
- package/{dataSource.mjs → dataMap/dataSource.mjs} +29 -57
- package/dataMap/index.js +0 -13
- package/dataMap/metaManager/index.js +33 -45
- package/dataMap/metaManager/index.mjs +33 -37
- package/dataMap/metaManager/lazyFactoryMap.js +17 -62
- package/dataMap/metaManager/lazyFactoryMap.mjs +17 -46
- package/dataMap/metaManager/metaLayers/cellMeta.js +26 -57
- package/dataMap/metaManager/metaLayers/cellMeta.mjs +25 -41
- package/dataMap/metaManager/metaLayers/columnMeta.js +23 -24
- package/dataMap/metaManager/metaLayers/columnMeta.mjs +24 -21
- package/dataMap/metaManager/metaLayers/globalMeta.js +30 -21
- package/dataMap/metaManager/metaLayers/globalMeta.mjs +31 -18
- package/dataMap/metaManager/metaLayers/tableMeta.js +18 -15
- package/dataMap/metaManager/metaLayers/tableMeta.mjs +19 -14
- package/dataMap/metaManager/metaSchema.js +173 -213
- package/dataMap/metaManager/metaSchema.mjs +173 -204
- package/dataMap/metaManager/mods/dynamicCellMeta.js +15 -35
- package/dataMap/metaManager/mods/dynamicCellMeta.mjs +15 -24
- package/dataMap/metaManager/mods/extendMetaProperties.js +14 -27
- package/dataMap/metaManager/mods/extendMetaProperties.mjs +14 -19
- package/dataMap/metaManager/utils.js +49 -28
- package/dataMap/metaManager/utils.mjs +50 -21
- package/dataMap/replaceData.js +15 -35
- package/dataMap/replaceData.mjs +15 -23
- package/dist/handsontable.css +9 -9
- package/dist/handsontable.full.css +9 -9
- package/dist/handsontable.full.js +13065 -28165
- package/dist/handsontable.full.min.css +2 -2
- package/dist/handsontable.full.min.js +108 -114
- package/dist/handsontable.js +11528 -21792
- package/dist/handsontable.min.css +2 -2
- package/dist/handsontable.min.js +3 -3
- package/dist/languages/all.js +111 -240
- package/dist/languages/all.min.js +1 -1
- package/dist/languages/ar-AR.js +50 -14
- package/dist/languages/ar-AR.min.js +1 -1
- package/dist/languages/cs-CZ.js +52 -16
- package/dist/languages/cs-CZ.min.js +1 -1
- package/dist/languages/de-CH.js +52 -16
- package/dist/languages/de-CH.min.js +1 -1
- package/dist/languages/de-DE.js +53 -17
- package/dist/languages/de-DE.min.js +1 -1
- package/dist/languages/en-US.js +56 -20
- package/dist/languages/en-US.min.js +1 -1
- package/dist/languages/es-MX.js +56 -20
- package/dist/languages/es-MX.min.js +1 -1
- package/dist/languages/fr-FR.js +55 -19
- package/dist/languages/fr-FR.min.js +1 -1
- package/dist/languages/it-IT.js +55 -19
- package/dist/languages/it-IT.min.js +1 -1
- package/dist/languages/ja-JP.js +83 -43
- package/dist/languages/ja-JP.min.js +1 -1
- package/dist/languages/ko-KR.js +84 -43
- package/dist/languages/ko-KR.min.js +1 -1
- package/dist/languages/lv-LV.js +85 -43
- package/dist/languages/lv-LV.min.js +1 -1
- package/dist/languages/nb-NO.js +86 -43
- package/dist/languages/nb-NO.min.js +1 -1
- package/dist/languages/nl-NL.js +87 -43
- package/dist/languages/nl-NL.min.js +1 -1
- package/dist/languages/pl-PL.js +88 -43
- package/dist/languages/pl-PL.min.js +1 -1
- package/dist/languages/pt-BR.js +67 -28
- package/dist/languages/pt-BR.min.js +1 -1
- package/dist/languages/ru-RU.js +67 -28
- package/dist/languages/ru-RU.min.js +1 -1
- package/dist/languages/sr-SP.js +55 -16
- package/dist/languages/sr-SP.min.js +1 -1
- package/dist/languages/zh-CN.js +55 -16
- package/dist/languages/zh-CN.min.js +1 -1
- package/dist/languages/zh-TW.js +55 -16
- package/dist/languages/zh-TW.min.js +1 -1
- package/editorManager.js +53 -113
- package/editorManager.mjs +50 -90
- package/editors/autocompleteEditor/autocompleteEditor.js +36 -138
- package/editors/autocompleteEditor/autocompleteEditor.mjs +35 -108
- package/editors/autocompleteEditor/index.js +0 -2
- package/editors/baseEditor/baseEditor.js +55 -160
- package/editors/baseEditor/baseEditor.mjs +54 -133
- package/editors/baseEditor/index.js +0 -2
- package/editors/checkboxEditor/checkboxEditor.js +8 -34
- package/editors/checkboxEditor/checkboxEditor.mjs +8 -20
- package/editors/checkboxEditor/index.js +0 -2
- package/editors/dateEditor/dateEditor.js +26 -97
- package/editors/dateEditor/dateEditor.mjs +26 -76
- package/editors/dateEditor/index.js +0 -2
- package/editors/dropdownEditor/dropdownEditor.js +7 -42
- package/editors/dropdownEditor/dropdownEditor.mjs +7 -23
- package/editors/dropdownEditor/index.js +0 -2
- package/editors/handsontableEditor/handsontableEditor.js +19 -86
- package/editors/handsontableEditor/handsontableEditor.mjs +19 -67
- package/editors/handsontableEditor/index.js +0 -2
- package/editors/index.js +0 -25
- package/editors/index.mjs +0 -1
- package/editors/numericEditor/index.js +0 -2
- package/editors/numericEditor/numericEditor.js +7 -32
- package/editors/numericEditor/numericEditor.mjs +7 -19
- package/editors/passwordEditor/index.js +0 -2
- package/editors/passwordEditor/passwordEditor.js +7 -39
- package/editors/passwordEditor/passwordEditor.mjs +7 -23
- package/editors/registry.js +13 -36
- package/editors/registry.mjs +12 -26
- package/editors/selectEditor/index.js +0 -2
- package/editors/selectEditor/selectEditor.js +27 -74
- package/editors/selectEditor/selectEditor.mjs +27 -57
- package/editors/textEditor/caretPositioner.js +0 -8
- package/editors/textEditor/caretPositioner.mjs +0 -7
- package/editors/textEditor/index.js +0 -2
- package/editors/textEditor/textEditor.js +45 -139
- package/editors/textEditor/textEditor.mjs +45 -108
- package/editors/timeEditor/index.js +0 -2
- package/editors/timeEditor/timeEditor.js +7 -37
- package/editors/timeEditor/timeEditor.mjs +7 -22
- package/eventManager.js +26 -47
- package/eventManager.mjs +27 -45
- package/helpers/array.js +22 -88
- package/helpers/array.mjs +22 -58
- package/helpers/browser.js +25 -51
- package/helpers/browser.mjs +25 -32
- package/helpers/console.js +3 -13
- package/helpers/console.mjs +3 -10
- package/helpers/data.d.ts +0 -2
- package/helpers/data.js +8 -102
- package/helpers/data.mjs +9 -80
- package/helpers/date.js +2 -3
- package/helpers/date.mjs +2 -2
- package/helpers/dom/element.js +89 -256
- package/helpers/dom/element.mjs +88 -184
- package/helpers/dom/event.js +3 -7
- package/helpers/dom/event.mjs +3 -3
- package/helpers/feature.js +21 -82
- package/helpers/feature.mjs +15 -60
- package/helpers/function.js +14 -59
- package/helpers/function.mjs +14 -45
- package/helpers/mixed.js +9 -64
- package/helpers/mixed.mjs +9 -43
- package/helpers/number.js +4 -46
- package/helpers/number.mjs +4 -23
- package/helpers/object.js +30 -77
- package/helpers/object.mjs +25 -47
- package/helpers/string.js +6 -28
- package/helpers/string.mjs +6 -14
- package/helpers/templateLiteralTag.js +0 -6
- package/helpers/templateLiteralTag.mjs +0 -2
- package/helpers/unicode.js +17 -22
- package/helpers/unicode.mjs +17 -13
- package/helpers/wrappers/jquery.js +4 -14
- package/helpers/wrappers/jquery.mjs +4 -13
- package/i18n/constants.js +50 -45
- package/i18n/constants.mjs +46 -42
- package/i18n/index.js +0 -7
- package/i18n/languages/ar-AR.js +12 -23
- package/i18n/languages/ar-AR.mjs +14 -3
- package/i18n/languages/cs-CZ.js +12 -23
- package/i18n/languages/cs-CZ.mjs +14 -3
- package/i18n/languages/de-CH.js +12 -23
- package/i18n/languages/de-CH.mjs +14 -3
- package/i18n/languages/de-DE.js +12 -23
- package/i18n/languages/de-DE.mjs +14 -3
- package/i18n/languages/en-US.js +13 -24
- package/i18n/languages/en-US.mjs +15 -4
- package/i18n/languages/es-MX.js +13 -24
- package/i18n/languages/es-MX.mjs +17 -5
- package/i18n/languages/fr-FR.js +12 -23
- package/i18n/languages/fr-FR.mjs +14 -3
- package/i18n/languages/index.js +0 -39
- package/i18n/languages/it-IT.js +12 -23
- package/i18n/languages/it-IT.mjs +14 -3
- package/i18n/languages/ja-JP.js +12 -23
- package/i18n/languages/ja-JP.mjs +14 -3
- package/i18n/languages/ko-KR.js +12 -23
- package/i18n/languages/ko-KR.mjs +14 -3
- package/i18n/languages/lv-LV.js +13 -24
- package/i18n/languages/lv-LV.mjs +17 -6
- package/i18n/languages/nb-NO.js +12 -23
- package/i18n/languages/nb-NO.mjs +14 -3
- package/i18n/languages/nl-NL.js +13 -24
- package/i18n/languages/nl-NL.mjs +17 -6
- package/i18n/languages/pl-PL.js +13 -24
- package/i18n/languages/pl-PL.mjs +16 -5
- package/i18n/languages/pt-BR.js +12 -23
- package/i18n/languages/pt-BR.mjs +14 -3
- package/i18n/languages/ru-RU.js +12 -23
- package/i18n/languages/ru-RU.mjs +14 -3
- package/i18n/languages/sr-SP.js +12 -23
- package/i18n/languages/sr-SP.mjs +14 -3
- package/i18n/languages/zh-CN.js +12 -23
- package/i18n/languages/zh-CN.mjs +14 -3
- package/i18n/languages/zh-TW.js +12 -23
- package/i18n/languages/zh-TW.mjs +14 -3
- package/i18n/phraseFormatters/index.js +4 -11
- package/i18n/phraseFormatters/index.mjs +4 -6
- package/i18n/phraseFormatters/pluralize.js +0 -5
- package/i18n/phraseFormatters/pluralize.mjs +0 -3
- package/i18n/phraseFormatters/substituteVariables.js +0 -4
- package/i18n/phraseFormatters/substituteVariables.mjs +0 -2
- package/i18n/registry.js +18 -59
- package/i18n/registry.mjs +18 -30
- package/i18n/utils.js +4 -22
- package/i18n/utils.mjs +4 -11
- package/index.d.ts +9 -0
- package/index.js +23 -58
- package/index.mjs +21 -16
- package/languages/all.js +111 -240
- package/languages/ar-AR.js +50 -14
- package/languages/ar-AR.mjs +14 -3
- package/languages/cs-CZ.js +52 -16
- package/languages/cs-CZ.mjs +14 -3
- package/languages/de-CH.js +52 -16
- package/languages/de-CH.mjs +14 -3
- package/languages/de-DE.js +53 -17
- package/languages/de-DE.mjs +14 -3
- package/languages/en-US.js +56 -20
- package/languages/en-US.mjs +15 -4
- package/languages/es-MX.js +56 -20
- package/languages/es-MX.mjs +17 -5
- package/languages/fr-FR.js +55 -19
- package/languages/fr-FR.mjs +14 -3
- package/languages/index.js +111 -240
- package/languages/it-IT.js +55 -19
- package/languages/it-IT.mjs +14 -3
- package/languages/ja-JP.js +83 -43
- package/languages/ja-JP.mjs +14 -3
- package/languages/ko-KR.js +84 -43
- package/languages/ko-KR.mjs +14 -3
- package/languages/lv-LV.js +85 -43
- package/languages/lv-LV.mjs +17 -6
- package/languages/nb-NO.js +86 -43
- package/languages/nb-NO.mjs +14 -3
- package/languages/nl-NL.js +87 -43
- package/languages/nl-NL.mjs +17 -6
- package/languages/pl-PL.js +88 -43
- package/languages/pl-PL.mjs +16 -5
- package/languages/pt-BR.js +67 -28
- package/languages/pt-BR.mjs +14 -3
- package/languages/ru-RU.js +67 -28
- package/languages/ru-RU.mjs +14 -3
- package/languages/sr-SP.js +55 -16
- package/languages/sr-SP.mjs +14 -3
- package/languages/zh-CN.js +55 -16
- package/languages/zh-CN.mjs +14 -3
- package/languages/zh-TW.js +55 -16
- package/languages/zh-TW.mjs +14 -3
- package/mixins/hooksRefRegisterer.js +1 -12
- package/mixins/hooksRefRegisterer.mjs +1 -9
- package/mixins/localHooks.js +4 -11
- package/mixins/localHooks.mjs +4 -8
- package/package.json +2 -2
- package/pluginHooks.d.ts +10 -5
- package/pluginHooks.js +376 -116
- package/pluginHooks.mjs +375 -103
- package/plugins/autoColumnSize/autoColumnSize.js +81 -174
- package/plugins/autoColumnSize/autoColumnSize.mjs +81 -139
- package/plugins/autoColumnSize/index.js +0 -2
- package/plugins/autoRowSize/autoRowSize.js +89 -160
- package/plugins/autoRowSize/autoRowSize.mjs +89 -131
- package/plugins/autoRowSize/index.js +0 -2
- package/plugins/autofill/autofill.js +53 -165
- package/plugins/autofill/autofill.mjs +53 -133
- package/plugins/autofill/index.js +0 -2
- package/plugins/autofill/utils.js +4 -26
- package/plugins/autofill/utils.mjs +4 -18
- package/plugins/base/base.js +28 -91
- package/plugins/base/base.mjs +28 -63
- package/plugins/base/index.js +0 -2
- package/plugins/bindRowsWithHeaders/bindRowsWithHeaders.js +25 -53
- package/plugins/bindRowsWithHeaders/bindRowsWithHeaders.mjs +25 -34
- package/plugins/bindRowsWithHeaders/index.js +0 -2
- package/plugins/bindRowsWithHeaders/maps/looseBindsMap.js +11 -42
- package/plugins/bindRowsWithHeaders/maps/looseBindsMap.mjs +11 -30
- package/plugins/bindRowsWithHeaders/maps/strictBindsMap.js +12 -54
- package/plugins/bindRowsWithHeaders/maps/strictBindsMap.mjs +12 -38
- package/plugins/collapsibleColumns/collapsibleColumns.js +106 -193
- package/plugins/collapsibleColumns/collapsibleColumns.mjs +106 -162
- package/plugins/collapsibleColumns/index.js +0 -2
- package/plugins/columnSorting/columnSorting.js +58 -192
- package/plugins/columnSorting/columnSorting.mjs +58 -147
- package/plugins/columnSorting/columnStatesManager.js +27 -77
- package/plugins/columnSorting/columnStatesManager.mjs +24 -51
- package/plugins/columnSorting/domHelpers.js +2 -18
- package/plugins/columnSorting/domHelpers.mjs +2 -7
- package/plugins/columnSorting/index.js +0 -2
- package/plugins/columnSorting/rootComparator.js +5 -24
- package/plugins/columnSorting/rootComparator.mjs +5 -13
- package/plugins/columnSorting/sortFunction/checkbox.js +8 -16
- package/plugins/columnSorting/sortFunction/checkbox.mjs +8 -12
- package/plugins/columnSorting/sortFunction/date.js +2 -19
- package/plugins/columnSorting/sortFunction/date.mjs +2 -14
- package/plugins/columnSorting/sortFunction/default.js +2 -17
- package/plugins/columnSorting/sortFunction/default.mjs +2 -14
- package/plugins/columnSorting/sortFunction/numeric.js +2 -11
- package/plugins/columnSorting/sortFunction/numeric.mjs +2 -8
- package/plugins/columnSorting/sortService/engine.js +1 -7
- package/plugins/columnSorting/sortService/engine.mjs +1 -3
- package/plugins/columnSorting/sortService/index.js +0 -5
- package/plugins/columnSorting/sortService/registry.js +6 -18
- package/plugins/columnSorting/sortService/registry.mjs +6 -10
- package/plugins/columnSorting/utils.js +9 -34
- package/plugins/columnSorting/utils.mjs +9 -15
- package/plugins/columnSummary/columnSummary.js +65 -126
- package/plugins/columnSummary/columnSummary.mjs +65 -101
- package/plugins/columnSummary/endpoints.js +33 -109
- package/plugins/columnSummary/endpoints.mjs +33 -105
- package/plugins/columnSummary/index.js +0 -2
- package/plugins/columnSummary/utils.js +0 -1
- package/plugins/comments/commentEditor.js +29 -27
- package/plugins/comments/commentEditor.mjs +29 -26
- package/plugins/comments/comments.js +106 -178
- package/plugins/comments/comments.mjs +106 -152
- package/plugins/comments/displaySwitch.js +20 -24
- package/plugins/comments/displaySwitch.mjs +20 -19
- package/plugins/comments/index.js +0 -2
- package/plugins/contextMenu/commandExecutor.js +17 -29
- package/plugins/contextMenu/commandExecutor.mjs +17 -27
- package/plugins/contextMenu/contextMenu.d.ts +4 -3
- package/plugins/contextMenu/contextMenu.js +28 -121
- package/plugins/contextMenu/contextMenu.mjs +28 -91
- package/plugins/contextMenu/cursor.js +19 -19
- package/plugins/contextMenu/cursor.mjs +19 -18
- package/plugins/contextMenu/index.js +0 -2
- package/plugins/contextMenu/itemsFactory.js +21 -35
- package/plugins/contextMenu/itemsFactory.mjs +21 -31
- package/plugins/contextMenu/menu.js +71 -180
- package/plugins/contextMenu/menu.mjs +70 -151
- package/plugins/contextMenu/predefinedItems/alignment.js +1 -55
- package/plugins/contextMenu/predefinedItems/alignment.mjs +1 -37
- package/plugins/contextMenu/predefinedItems/clearColumn.js +1 -20
- package/plugins/contextMenu/predefinedItems/clearColumn.mjs +1 -4
- package/plugins/contextMenu/predefinedItems/columnLeft.js +6 -43
- package/plugins/contextMenu/predefinedItems/columnLeft.mjs +6 -26
- package/plugins/contextMenu/predefinedItems/columnRight.js +4 -42
- package/plugins/contextMenu/predefinedItems/columnRight.mjs +4 -25
- package/plugins/contextMenu/predefinedItems/noItems.js +1 -4
- package/plugins/contextMenu/predefinedItems/noItems.mjs +1 -1
- package/plugins/contextMenu/predefinedItems/readOnly.js +1 -25
- package/plugins/contextMenu/predefinedItems/readOnly.mjs +1 -8
- package/plugins/contextMenu/predefinedItems/redo.js +1 -16
- package/plugins/contextMenu/predefinedItems/redo.mjs +1 -1
- package/plugins/contextMenu/predefinedItems/removeColumn.js +4 -39
- package/plugins/contextMenu/predefinedItems/removeColumn.mjs +4 -19
- package/plugins/contextMenu/predefinedItems/removeRow.js +4 -38
- package/plugins/contextMenu/predefinedItems/removeRow.mjs +4 -18
- package/plugins/contextMenu/predefinedItems/rowAbove.js +6 -35
- package/plugins/contextMenu/predefinedItems/rowAbove.mjs +6 -19
- package/plugins/contextMenu/predefinedItems/rowBelow.js +4 -42
- package/plugins/contextMenu/predefinedItems/rowBelow.mjs +4 -25
- package/plugins/contextMenu/predefinedItems/separator.js +1 -2
- package/plugins/contextMenu/predefinedItems/separator.mjs +1 -1
- package/plugins/contextMenu/predefinedItems/undo.js +1 -16
- package/plugins/contextMenu/predefinedItems/undo.mjs +1 -1
- package/plugins/contextMenu/predefinedItems.js +14 -55
- package/plugins/contextMenu/predefinedItems.mjs +16 -8
- package/plugins/contextMenu/utils.js +17 -57
- package/plugins/contextMenu/utils.mjs +17 -34
- package/plugins/copyPaste/clipboardData.js +14 -9
- package/plugins/copyPaste/clipboardData.mjs +14 -8
- package/plugins/copyPaste/contextMenuItem/copy.js +5 -32
- package/plugins/copyPaste/contextMenuItem/copy.mjs +5 -7
- package/plugins/copyPaste/contextMenuItem/copyColumnHeadersOnly.js +35 -0
- package/plugins/copyPaste/contextMenuItem/copyColumnHeadersOnly.mjs +31 -0
- package/plugins/copyPaste/contextMenuItem/copyWithColumnGroupHeaders.js +35 -0
- package/plugins/copyPaste/contextMenuItem/copyWithColumnGroupHeaders.mjs +31 -0
- package/plugins/copyPaste/contextMenuItem/copyWithColumnHeaders.js +35 -0
- package/plugins/copyPaste/contextMenuItem/copyWithColumnHeaders.mjs +31 -0
- package/plugins/copyPaste/contextMenuItem/cut.js +2 -17
- package/plugins/copyPaste/contextMenuItem/cut.mjs +2 -4
- package/plugins/copyPaste/copyPaste.d.ts +10 -2
- package/plugins/copyPaste/copyPaste.js +339 -372
- package/plugins/copyPaste/copyPaste.mjs +339 -331
- package/plugins/copyPaste/copyableRanges.js +269 -0
- package/plugins/copyPaste/copyableRanges.mjs +264 -0
- package/plugins/copyPaste/focusableElement.js +21 -55
- package/plugins/copyPaste/focusableElement.mjs +21 -45
- package/plugins/copyPaste/index.js +0 -2
- package/plugins/copyPaste/pasteEvent.js +14 -9
- package/plugins/copyPaste/pasteEvent.mjs +14 -7
- package/plugins/customBorders/contextMenuItem/bottom.js +0 -17
- package/plugins/customBorders/contextMenuItem/bottom.mjs +0 -3
- package/plugins/customBorders/contextMenuItem/index.js +0 -11
- package/plugins/customBorders/contextMenuItem/left.js +0 -17
- package/plugins/customBorders/contextMenuItem/left.mjs +0 -3
- package/plugins/customBorders/contextMenuItem/noBorders.js +0 -15
- package/plugins/customBorders/contextMenuItem/noBorders.mjs +0 -1
- package/plugins/customBorders/contextMenuItem/right.js +0 -17
- package/plugins/customBorders/contextMenuItem/right.mjs +0 -3
- package/plugins/customBorders/contextMenuItem/top.js +0 -17
- package/plugins/customBorders/contextMenuItem/top.mjs +0 -3
- package/plugins/customBorders/customBorders.js +64 -188
- package/plugins/customBorders/customBorders.mjs +63 -153
- package/plugins/customBorders/index.js +0 -2
- package/plugins/customBorders/utils.js +13 -52
- package/plugins/customBorders/utils.mjs +13 -31
- package/plugins/dragToScroll/dragToScroll.js +23 -75
- package/plugins/dragToScroll/dragToScroll.mjs +23 -56
- package/plugins/dragToScroll/index.js +0 -2
- package/plugins/dropdownMenu/dropdownMenu.js +49 -127
- package/plugins/dropdownMenu/dropdownMenu.mjs +49 -96
- package/plugins/dropdownMenu/index.js +0 -2
- package/plugins/exportFile/dataProvider.js +34 -72
- package/plugins/exportFile/dataProvider.mjs +31 -58
- package/plugins/exportFile/exportFile.js +56 -61
- package/plugins/exportFile/exportFile.mjs +54 -37
- package/plugins/exportFile/index.js +0 -2
- package/plugins/exportFile/typeFactory.js +15 -12
- package/plugins/exportFile/typeFactory.mjs +15 -5
- package/plugins/exportFile/types/_base.js +15 -15
- package/plugins/exportFile/types/_base.mjs +15 -13
- package/plugins/exportFile/types/csv.js +8 -51
- package/plugins/exportFile/types/csv.mjs +8 -30
- package/plugins/filters/component/_base.js +25 -31
- package/plugins/filters/component/_base.mjs +25 -26
- package/plugins/filters/component/actionBar.js +13 -56
- package/plugins/filters/component/actionBar.mjs +11 -34
- package/plugins/filters/component/condition.js +22 -95
- package/plugins/filters/component/condition.mjs +20 -63
- package/plugins/filters/component/operators.js +18 -71
- package/plugins/filters/component/operators.mjs +18 -48
- package/plugins/filters/component/value.js +22 -97
- package/plugins/filters/component/value.mjs +22 -67
- package/plugins/filters/condition/beginsWith.js +3 -33
- package/plugins/filters/condition/beginsWith.mjs +3 -11
- package/plugins/filters/condition/between.js +4 -38
- package/plugins/filters/condition/between.mjs +4 -16
- package/plugins/filters/condition/byValue.js +4 -28
- package/plugins/filters/condition/byValue.mjs +4 -13
- package/plugins/filters/condition/contains.js +3 -33
- package/plugins/filters/condition/contains.mjs +3 -11
- package/plugins/filters/condition/date/after.js +3 -35
- package/plugins/filters/condition/date/after.mjs +3 -13
- package/plugins/filters/condition/date/before.js +3 -35
- package/plugins/filters/condition/date/before.mjs +3 -13
- package/plugins/filters/condition/date/today.js +1 -22
- package/plugins/filters/condition/date/today.mjs +1 -3
- package/plugins/filters/condition/date/tomorrow.js +1 -22
- package/plugins/filters/condition/date/tomorrow.mjs +1 -3
- package/plugins/filters/condition/date/yesterday.js +1 -22
- package/plugins/filters/condition/date/yesterday.mjs +1 -3
- package/plugins/filters/condition/empty.js +1 -19
- package/plugins/filters/condition/empty.mjs +1 -1
- package/plugins/filters/condition/endsWith.js +3 -33
- package/plugins/filters/condition/endsWith.mjs +3 -11
- package/plugins/filters/condition/equal.js +3 -32
- package/plugins/filters/condition/equal.mjs +3 -11
- package/plugins/filters/condition/false.js +1 -5
- package/plugins/filters/condition/false.mjs +1 -1
- package/plugins/filters/condition/greaterThan.js +3 -33
- package/plugins/filters/condition/greaterThan.mjs +3 -13
- package/plugins/filters/condition/greaterThanOrEqual.js +3 -33
- package/plugins/filters/condition/greaterThanOrEqual.mjs +3 -13
- package/plugins/filters/condition/lessThan.js +3 -33
- package/plugins/filters/condition/lessThan.mjs +3 -13
- package/plugins/filters/condition/lessThanOrEqual.js +3 -33
- package/plugins/filters/condition/lessThanOrEqual.mjs +3 -13
- package/plugins/filters/condition/none.js +1 -18
- package/plugins/filters/condition/none.mjs +1 -1
- package/plugins/filters/condition/notBetween.js +1 -19
- package/plugins/filters/condition/notBetween.mjs +1 -1
- package/plugins/filters/condition/notContains.js +1 -19
- package/plugins/filters/condition/notContains.mjs +1 -1
- package/plugins/filters/condition/notEmpty.js +1 -19
- package/plugins/filters/condition/notEmpty.mjs +1 -1
- package/plugins/filters/condition/notEqual.js +1 -19
- package/plugins/filters/condition/notEqual.mjs +1 -1
- package/plugins/filters/condition/true.js +1 -5
- package/plugins/filters/condition/true.mjs +1 -1
- package/plugins/filters/conditionCollection.js +31 -84
- package/plugins/filters/conditionCollection.mjs +39 -69
- package/plugins/filters/conditionRegisterer.js +5 -14
- package/plugins/filters/conditionRegisterer.mjs +5 -9
- package/plugins/filters/conditionUpdateObserver.js +29 -56
- package/plugins/filters/conditionUpdateObserver.mjs +29 -44
- package/plugins/filters/constants.js +15 -67
- package/plugins/filters/constants.mjs +15 -9
- package/plugins/filters/dataFilter.js +17 -20
- package/plugins/filters/dataFilter.mjs +17 -19
- package/plugins/filters/filters.js +110 -210
- package/plugins/filters/filters.mjs +110 -165
- package/plugins/filters/index.js +0 -2
- package/plugins/filters/logicalOperationRegisterer.js +3 -9
- package/plugins/filters/logicalOperationRegisterer.mjs +3 -4
- package/plugins/filters/logicalOperations/conjunction.js +2 -19
- package/plugins/filters/logicalOperations/conjunction.mjs +2 -2
- package/plugins/filters/logicalOperations/disjunction.js +2 -19
- package/plugins/filters/logicalOperations/disjunction.mjs +2 -2
- package/plugins/filters/logicalOperations/disjunctionWithExtraCondition.js +2 -21
- package/plugins/filters/logicalOperations/disjunctionWithExtraCondition.mjs +2 -3
- package/plugins/filters/ui/_base.js +24 -62
- package/plugins/filters/ui/_base.mjs +26 -36
- package/plugins/filters/ui/input.js +13 -53
- package/plugins/filters/ui/input.mjs +13 -35
- package/plugins/filters/ui/link.js +9 -44
- package/plugins/filters/ui/link.mjs +9 -26
- package/plugins/filters/ui/multipleSelect.js +25 -113
- package/plugins/filters/ui/multipleSelect.mjs +26 -77
- package/plugins/filters/ui/radioInput.js +12 -48
- package/plugins/filters/ui/radioInput.mjs +12 -31
- package/plugins/filters/ui/select.js +20 -77
- package/plugins/filters/ui/select.mjs +20 -53
- package/plugins/filters/utils.js +6 -39
- package/plugins/filters/utils.mjs +6 -23
- package/plugins/formulas/engine/register.js +24 -74
- package/plugins/formulas/engine/register.mjs +24 -45
- package/plugins/formulas/engine/settings.js +16 -25
- package/plugins/formulas/engine/settings.mjs +16 -13
- package/plugins/formulas/formulas.js +127 -306
- package/plugins/formulas/formulas.mjs +128 -259
- package/plugins/formulas/index.js +0 -2
- package/plugins/formulas/utils.js +1 -3
- package/plugins/formulas/utils.mjs +1 -1
- package/plugins/hiddenColumns/contextMenuItem/hideColumn.js +5 -39
- package/plugins/hiddenColumns/contextMenuItem/hideColumn.mjs +5 -21
- package/plugins/hiddenColumns/contextMenuItem/showColumn.js +17 -45
- package/plugins/hiddenColumns/contextMenuItem/showColumn.mjs +17 -24
- package/plugins/hiddenColumns/hiddenColumns.js +77 -150
- package/plugins/hiddenColumns/hiddenColumns.mjs +77 -109
- package/plugins/hiddenColumns/index.js +0 -2
- package/plugins/hiddenRows/contextMenuItem/hideRow.js +5 -39
- package/plugins/hiddenRows/contextMenuItem/hideRow.mjs +5 -21
- package/plugins/hiddenRows/contextMenuItem/showRow.js +17 -45
- package/plugins/hiddenRows/contextMenuItem/showRow.mjs +17 -24
- package/plugins/hiddenRows/hiddenRows.js +75 -149
- package/plugins/hiddenRows/hiddenRows.mjs +75 -108
- package/plugins/hiddenRows/index.js +0 -2
- package/plugins/index.js +0 -71
- package/plugins/index.mjs +0 -1
- package/plugins/manualColumnFreeze/contextMenuItem/freezeColumn.js +2 -29
- package/plugins/manualColumnFreeze/contextMenuItem/freezeColumn.mjs +2 -13
- package/plugins/manualColumnFreeze/contextMenuItem/unfreezeColumn.js +2 -29
- package/plugins/manualColumnFreeze/contextMenuItem/unfreezeColumn.mjs +2 -13
- package/plugins/manualColumnFreeze/index.js +0 -2
- package/plugins/manualColumnFreeze/manualColumnFreeze.js +27 -79
- package/plugins/manualColumnFreeze/manualColumnFreeze.mjs +27 -55
- package/plugins/manualColumnMove/index.js +0 -2
- package/plugins/manualColumnMove/manualColumnMove.js +51 -135
- package/plugins/manualColumnMove/manualColumnMove.mjs +51 -107
- package/plugins/manualColumnMove/ui/_base.js +26 -31
- package/plugins/manualColumnMove/ui/_base.mjs +26 -28
- package/plugins/manualColumnMove/ui/backlight.js +7 -38
- package/plugins/manualColumnMove/ui/backlight.mjs +7 -23
- package/plugins/manualColumnMove/ui/guideline.js +7 -38
- package/plugins/manualColumnMove/ui/guideline.mjs +7 -23
- package/plugins/manualColumnResize/index.js +0 -2
- package/plugins/manualColumnResize/manualColumnResize.js +50 -144
- package/plugins/manualColumnResize/manualColumnResize.mjs +49 -119
- package/plugins/manualRowMove/index.js +0 -2
- package/plugins/manualRowMove/manualRowMove.js +51 -138
- package/plugins/manualRowMove/manualRowMove.mjs +51 -110
- package/plugins/manualRowMove/ui/_base.js +26 -28
- package/plugins/manualRowMove/ui/_base.mjs +26 -27
- package/plugins/manualRowMove/ui/backlight.js +7 -38
- package/plugins/manualRowMove/ui/backlight.mjs +7 -23
- package/plugins/manualRowMove/ui/guideline.js +7 -38
- package/plugins/manualRowMove/ui/guideline.mjs +7 -23
- package/plugins/manualRowResize/index.js +0 -2
- package/plugins/manualRowResize/manualRowResize.js +48 -139
- package/plugins/manualRowResize/manualRowResize.mjs +47 -113
- package/plugins/mergeCells/calculations/autofill.js +49 -133
- package/plugins/mergeCells/calculations/autofill.mjs +46 -117
- package/plugins/mergeCells/calculations/selection.js +22 -39
- package/plugins/mergeCells/calculations/selection.mjs +22 -36
- package/plugins/mergeCells/cellCoords.js +43 -50
- package/plugins/mergeCells/cellCoords.mjs +43 -48
- package/plugins/mergeCells/cellsCollection.js +22 -86
- package/plugins/mergeCells/cellsCollection.mjs +19 -63
- package/plugins/mergeCells/contextMenuItem/toggleMerge.js +0 -22
- package/plugins/mergeCells/contextMenuItem/toggleMerge.mjs +0 -6
- package/plugins/mergeCells/index.js +0 -2
- package/plugins/mergeCells/mergeCells.js +136 -334
- package/plugins/mergeCells/mergeCells.mjs +136 -293
- package/plugins/mergeCells/utils.js +0 -3
- package/plugins/mergeCells/utils.mjs +0 -1
- package/plugins/multiColumnSorting/domHelpers.js +2 -12
- package/plugins/multiColumnSorting/domHelpers.mjs +2 -5
- package/plugins/multiColumnSorting/index.js +0 -2
- package/plugins/multiColumnSorting/multiColumnSorting.js +20 -67
- package/plugins/multiColumnSorting/multiColumnSorting.mjs +20 -45
- package/plugins/multiColumnSorting/rootComparator.js +2 -26
- package/plugins/multiColumnSorting/rootComparator.mjs +2 -15
- package/plugins/multiColumnSorting/utils.js +0 -7
- package/plugins/multiColumnSorting/utils.mjs +0 -4
- package/plugins/multipleSelectionHandles/index.js +0 -2
- package/plugins/multipleSelectionHandles/multipleSelectionHandles.js +12 -110
- package/plugins/multipleSelectionHandles/multipleSelectionHandles.mjs +12 -88
- package/plugins/nestedHeaders/index.js +0 -2
- package/plugins/nestedHeaders/nestedHeaders.js +198 -211
- package/plugins/nestedHeaders/nestedHeaders.mjs +206 -191
- package/plugins/nestedHeaders/stateManager/headersTree.js +26 -96
- package/plugins/nestedHeaders/stateManager/headersTree.mjs +26 -76
- package/plugins/nestedHeaders/stateManager/index.js +55 -118
- package/plugins/nestedHeaders/stateManager/index.mjs +61 -105
- package/plugins/nestedHeaders/stateManager/matrixGenerator.js +7 -25
- package/plugins/nestedHeaders/stateManager/matrixGenerator.mjs +7 -18
- package/plugins/nestedHeaders/stateManager/nodeModifiers/collapse.js +12 -27
- package/plugins/nestedHeaders/stateManager/nodeModifiers/collapse.mjs +12 -17
- package/plugins/nestedHeaders/stateManager/nodeModifiers/expand.js +10 -25
- package/plugins/nestedHeaders/stateManager/nodeModifiers/expand.mjs +10 -15
- package/plugins/nestedHeaders/stateManager/nodeModifiers/hideColumn.js +3 -19
- package/plugins/nestedHeaders/stateManager/nodeModifiers/hideColumn.mjs +3 -13
- package/plugins/nestedHeaders/stateManager/nodeModifiers/index.js +2 -12
- package/plugins/nestedHeaders/stateManager/nodeModifiers/index.mjs +1 -3
- package/plugins/nestedHeaders/stateManager/nodeModifiers/showColumn.js +3 -22
- package/plugins/nestedHeaders/stateManager/nodeModifiers/showColumn.mjs +3 -14
- package/plugins/nestedHeaders/stateManager/nodeModifiers/utils/tree.js +3 -10
- package/plugins/nestedHeaders/stateManager/nodeModifiers/utils/tree.mjs +3 -7
- package/plugins/nestedHeaders/stateManager/settingsNormalizer.js +5 -36
- package/plugins/nestedHeaders/stateManager/settingsNormalizer.mjs +5 -20
- package/plugins/nestedHeaders/stateManager/sourceSettings.js +27 -81
- package/plugins/nestedHeaders/stateManager/sourceSettings.mjs +33 -71
- package/plugins/nestedHeaders/stateManager/utils.js +19 -22
- package/plugins/nestedHeaders/stateManager/utils.mjs +19 -20
- package/plugins/nestedHeaders/utils/ghostTable.js +23 -37
- package/plugins/nestedHeaders/utils/ghostTable.mjs +23 -36
- package/plugins/nestedRows/data/dataManager.js +47 -162
- package/plugins/nestedRows/data/dataManager.mjs +45 -143
- package/plugins/nestedRows/index.js +0 -2
- package/plugins/nestedRows/nestedRows.js +46 -119
- package/plugins/nestedRows/nestedRows.mjs +46 -86
- package/plugins/nestedRows/ui/_base.js +14 -8
- package/plugins/nestedRows/ui/_base.mjs +14 -7
- package/plugins/nestedRows/ui/collapsing.js +33 -133
- package/plugins/nestedRows/ui/collapsing.mjs +33 -111
- package/plugins/nestedRows/ui/contextMenu.js +9 -55
- package/plugins/nestedRows/ui/contextMenu.mjs +8 -33
- package/plugins/nestedRows/ui/headers.js +10 -49
- package/plugins/nestedRows/ui/headers.mjs +10 -34
- package/plugins/nestedRows/utils/rowMoveController.js +36 -79
- package/plugins/nestedRows/utils/rowMoveController.mjs +45 -71
- package/plugins/persistentState/index.js +0 -2
- package/plugins/persistentState/persistentState.js +16 -59
- package/plugins/persistentState/persistentState.mjs +16 -38
- package/plugins/persistentState/storage.js +22 -24
- package/plugins/persistentState/storage.mjs +22 -22
- package/plugins/registry.js +8 -52
- package/plugins/registry.mjs +8 -33
- package/plugins/search/index.js +0 -2
- package/plugins/search/search.js +22 -97
- package/plugins/search/search.mjs +22 -68
- package/plugins/touchScroll/index.js +0 -2
- package/plugins/touchScroll/touchScroll.js +21 -77
- package/plugins/touchScroll/touchScroll.mjs +21 -59
- package/plugins/trimRows/index.js +0 -2
- package/plugins/trimRows/trimRows.js +64 -86
- package/plugins/trimRows/trimRows.mjs +64 -63
- package/plugins/undoRedo/index.js +0 -14
- package/plugins/undoRedo/undoRedo.js +98 -250
- package/plugins/undoRedo/undoRedo.mjs +98 -220
- package/registry.js +0 -11
- package/registry.mjs +1 -2
- package/renderers/autocompleteRenderer/autocompleteRenderer.js +5 -14
- package/renderers/autocompleteRenderer/autocompleteRenderer.mjs +5 -6
- package/renderers/autocompleteRenderer/index.js +0 -2
- package/renderers/baseRenderer/baseRenderer.js +2 -11
- package/renderers/baseRenderer/baseRenderer.mjs +1 -7
- package/renderers/baseRenderer/index.js +0 -2
- package/renderers/checkboxRenderer/checkboxRenderer.js +22 -103
- package/renderers/checkboxRenderer/checkboxRenderer.mjs +22 -81
- package/renderers/checkboxRenderer/index.js +0 -2
- package/renderers/htmlRenderer/htmlRenderer.js +1 -7
- package/renderers/htmlRenderer/htmlRenderer.mjs +1 -1
- package/renderers/htmlRenderer/index.js +0 -2
- package/renderers/index.js +0 -19
- package/renderers/index.mjs +0 -1
- package/renderers/numericRenderer/index.js +0 -2
- package/renderers/numericRenderer/numericRenderer.js +1 -21
- package/renderers/numericRenderer/numericRenderer.mjs +1 -9
- package/renderers/passwordRenderer/index.js +0 -2
- package/renderers/passwordRenderer/passwordRenderer.js +1 -8
- package/renderers/passwordRenderer/passwordRenderer.mjs +1 -1
- package/renderers/registry.js +7 -16
- package/renderers/registry.mjs +7 -14
- package/renderers/textRenderer/index.js +0 -2
- package/renderers/textRenderer/textRenderer.js +1 -13
- package/renderers/textRenderer/textRenderer.mjs +1 -5
- package/renderers/timeRenderer/index.js +0 -2
- package/renderers/timeRenderer/timeRenderer.js +1 -6
- package/renderers/timeRenderer/timeRenderer.mjs +1 -1
- package/selection/highlight/highlight.js +24 -73
- package/selection/highlight/highlight.mjs +24 -50
- package/selection/highlight/types/activeHeader.js +14 -23
- package/selection/highlight/types/activeHeader.mjs +14 -12
- package/selection/highlight/types/area.js +15 -24
- package/selection/highlight/types/area.mjs +15 -13
- package/selection/highlight/types/cell.js +14 -23
- package/selection/highlight/types/cell.mjs +14 -12
- package/selection/highlight/types/customSelection.js +15 -24
- package/selection/highlight/types/customSelection.mjs +15 -13
- package/selection/highlight/types/fill.js +16 -20
- package/selection/highlight/types/fill.mjs +16 -9
- package/selection/highlight/types/header.js +16 -25
- package/selection/highlight/types/header.mjs +16 -14
- package/selection/highlight/types/index.js +17 -27
- package/selection/highlight/types/index.mjs +17 -13
- package/selection/highlight/visualSelection.js +35 -80
- package/selection/highlight/visualSelection.mjs +35 -68
- package/selection/index.js +0 -14
- package/selection/mouseEventHandler.js +19 -30
- package/selection/mouseEventHandler.mjs +19 -22
- package/selection/range.js +17 -30
- package/selection/range.mjs +17 -21
- package/selection/selection.js +72 -160
- package/selection/selection.mjs +77 -137
- package/selection/transformation.js +23 -39
- package/selection/transformation.mjs +23 -36
- package/selection/utils.js +23 -71
- package/selection/utils.mjs +23 -48
- package/shortcuts/context.js +24 -79
- package/shortcuts/context.mjs +24 -56
- package/shortcuts/index.js +0 -2
- package/shortcuts/keyObserver.js +0 -9
- package/shortcuts/keyObserver.mjs +0 -4
- package/shortcuts/manager.js +17 -37
- package/shortcuts/manager.mjs +17 -34
- package/shortcuts/recorder.js +9 -40
- package/shortcuts/recorder.mjs +9 -31
- package/shortcuts/utils.js +5 -20
- package/shortcuts/utils.mjs +5 -6
- package/tableView.js +239 -330
- package/tableView.mjs +239 -308
- package/translations/changesObservable/observable.js +14 -53
- package/translations/changesObservable/observable.mjs +14 -43
- package/translations/changesObservable/observer.js +13 -31
- package/translations/changesObservable/observer.mjs +13 -23
- package/translations/changesObservable/utils.js +1 -5
- package/translations/changesObservable/utils.mjs +1 -4
- package/translations/index.js +0 -11
- package/translations/indexMapper.js +80 -162
- package/translations/indexMapper.mjs +85 -134
- package/translations/mapCollections/aggregatedCollection.js +14 -50
- package/translations/mapCollections/aggregatedCollection.mjs +14 -37
- package/translations/mapCollections/index.js +0 -7
- package/translations/mapCollections/mapCollection.js +20 -34
- package/translations/mapCollections/mapCollection.mjs +20 -23
- package/translations/maps/hidingMap.js +7 -34
- package/translations/maps/hidingMap.mjs +7 -22
- package/translations/maps/index.js +1 -24
- package/translations/maps/index.mjs +1 -3
- package/translations/maps/indexMap.js +25 -33
- package/translations/maps/indexMap.mjs +25 -27
- package/translations/maps/indexesSequence.js +8 -40
- package/translations/maps/indexesSequence.mjs +8 -25
- package/translations/maps/linkedPhysicalIndexToValueMap.js +18 -81
- package/translations/maps/linkedPhysicalIndexToValueMap.mjs +17 -54
- package/translations/maps/physicalIndexToValueMap.js +7 -38
- package/translations/maps/physicalIndexToValueMap.mjs +7 -24
- package/translations/maps/trimmingMap.js +7 -34
- package/translations/maps/trimmingMap.mjs +7 -22
- package/translations/maps/utils/actionsOnIndexes.js +1 -7
- package/translations/maps/utils/actionsOnIndexes.mjs +1 -3
- package/translations/maps/utils/index.js +0 -13
- package/translations/maps/utils/index.mjs +0 -3
- package/translations/maps/utils/indexesSequence.js +1 -24
- package/translations/maps/utils/indexesSequence.mjs +1 -9
- package/translations/maps/utils/physicallyIndexed.js +1 -27
- package/translations/maps/utils/physicallyIndexed.mjs +1 -10
- package/utils/dataStructures/linkedList.js +23 -50
- package/utils/dataStructures/linkedList.mjs +23 -48
- package/utils/dataStructures/priorityMap.js +9 -47
- package/utils/dataStructures/priorityMap.mjs +9 -30
- package/utils/dataStructures/queue.js +19 -16
- package/utils/dataStructures/queue.mjs +19 -15
- package/utils/dataStructures/stack.js +19 -16
- package/utils/dataStructures/stack.mjs +19 -15
- package/utils/dataStructures/tree.js +19 -77
- package/utils/dataStructures/tree.mjs +19 -56
- package/utils/dataStructures/uniqueMap.js +18 -57
- package/utils/dataStructures/uniqueMap.mjs +18 -43
- package/utils/dataStructures/uniqueSet.js +5 -32
- package/utils/dataStructures/uniqueSet.mjs +5 -19
- package/utils/ghostTable.js +42 -106
- package/utils/ghostTable.mjs +40 -90
- package/utils/interval.js +17 -29
- package/utils/interval.mjs +18 -26
- package/utils/parseTable.js +11 -92
- package/utils/parseTable.mjs +11 -62
- package/utils/rootInstance.js +3 -14
- package/utils/rootInstance.mjs +3 -3
- package/utils/samplesGenerator.js +25 -51
- package/utils/samplesGenerator.mjs +25 -42
- package/utils/staticRegister.js +6 -33
- package/utils/staticRegister.mjs +6 -19
- package/validators/autocompleteValidator/autocompleteValidator.js +2 -10
- package/validators/autocompleteValidator/autocompleteValidator.mjs +2 -8
- package/validators/autocompleteValidator/index.js +0 -2
- package/validators/dateValidator/dateValidator.js +2 -21
- package/validators/dateValidator/dateValidator.mjs +2 -11
- package/validators/dateValidator/index.js +0 -2
- package/validators/index.js +0 -11
- package/validators/index.mjs +0 -1
- package/validators/numericValidator/index.js +0 -2
- package/validators/numericValidator/numericValidator.js +1 -7
- package/validators/numericValidator/numericValidator.mjs +1 -3
- package/validators/registry.js +7 -16
- package/validators/registry.mjs +7 -14
- package/validators/timeValidator/index.js +0 -2
- package/validators/timeValidator/timeValidator.js +6 -18
- package/validators/timeValidator/timeValidator.mjs +8 -13
@@ -5,19 +5,16 @@ import "core-js/modules/es.symbol.iterator.js";
|
|
5
5
|
import "core-js/modules/es.array.iterator.js";
|
6
6
|
import "core-js/modules/es.string.iterator.js";
|
7
7
|
import "core-js/modules/web.dom-collections.iterator.js";
|
8
|
-
|
9
8
|
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
10
|
-
|
11
9
|
import { isEmpty } from "../../helpers/mixed.mjs";
|
12
10
|
import { isObjectEqual } from "../../helpers/object.mjs";
|
13
11
|
/* eslint-disable jsdoc/require-description-complete-sentence */
|
14
|
-
|
15
12
|
/**
|
16
13
|
* @alias Options
|
17
14
|
* @class Options
|
18
15
|
* @description
|
19
16
|
*
|
20
|
-
* [Configuration options](@/guides/getting-started/
|
17
|
+
* [Configuration options](@/guides/getting-started/configuration-options.md) let you heavily customize your Handsontable instance. For example, you can:
|
21
18
|
*
|
22
19
|
* - Enable and disable built-in features
|
23
20
|
* - Enable and configure additional [plugins](@/guides/tools-and-building/custom-plugins.md)
|
@@ -25,17 +22,27 @@ import { isObjectEqual } from "../../helpers/object.mjs";
|
|
25
22
|
* - Adjust Handsontable's behavior
|
26
23
|
* - Implement your own custom features
|
27
24
|
*
|
28
|
-
*
|
25
|
+
* ::: only-for javascript
|
26
|
+
*
|
27
|
+
* To apply [configuration options](@/guides/getting-started/configuration-options.md), pass them as
|
29
28
|
* a second argument of the [Handsontable constructor](@/guides/getting-started/installation.md#initialize-handsontable),
|
30
29
|
* using the [object literal notation](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Object_initializer):
|
31
30
|
*
|
31
|
+
* Read more on the [Configuration options](@/guides/getting-started/configuration-options.md) page.
|
32
|
+
*
|
32
33
|
* ```js
|
33
34
|
* const container = document.getElementById('example');
|
34
35
|
*
|
35
36
|
* const hot = new Handsontable(container, {
|
36
37
|
* // configuration options, in the object literal notation
|
37
38
|
* licenseKey: 'non-commercial-and-evaluation',
|
38
|
-
* data:
|
39
|
+
* data: [
|
40
|
+
* ['A1', 'B1', 'C1', 'D1', 'E1'],
|
41
|
+
* ['A2', 'B2', 'C2', 'D2', 'E2'],
|
42
|
+
* ['A3', 'B3', 'C3', 'D3', 'E3'],
|
43
|
+
* ['A4', 'B4', 'C4', 'D4', 'E4'],
|
44
|
+
* ['A5', 'B5', 'C5', 'D5', 'E5'],
|
45
|
+
* ],
|
39
46
|
* width: 400,
|
40
47
|
* height: 300,
|
41
48
|
* colHeaders: true,
|
@@ -47,22 +54,64 @@ import { isObjectEqual } from "../../helpers/object.mjs";
|
|
47
54
|
* manualRowMove: true,
|
48
55
|
* });
|
49
56
|
* ```
|
57
|
+
* :::
|
58
|
+
*
|
59
|
+
* ::: only-for react
|
60
|
+
*
|
61
|
+
* To apply configuration options, pass them as individual props
|
62
|
+
* of the [`HotTable`](@/guides/getting-started/installation.md#use-the-hottable-component)
|
63
|
+
* or [`HotColumn`](@/guides/columns/react-hot-column.md) components.
|
64
|
+
*
|
65
|
+
* Read more on the [Configuration options](@/guides/getting-started/configuration-options.md) page.
|
66
|
+
*
|
67
|
+
* ```jsx
|
68
|
+
* <HotTable
|
69
|
+
* // configuration options, in the object literal notation
|
70
|
+
* licenseKey='non-commercial-and-evaluation'
|
71
|
+
* data={[
|
72
|
+
* ['A1', 'B1', 'C1', 'D1', 'E1'],
|
73
|
+
* ['A2', 'B2', 'C2', 'D2', 'E2'],
|
74
|
+
* ['A3', 'B3', 'C3', 'D3', 'E3'],
|
75
|
+
* ['A4', 'B4', 'C4', 'D4', 'E4'],
|
76
|
+
* ['A5', 'B5', 'C5', 'D5', 'E5'],
|
77
|
+
* ]}
|
78
|
+
* width={400}
|
79
|
+
* height={300}
|
80
|
+
* colHeaders={true}
|
81
|
+
* rowHeaders={true}
|
82
|
+
* customBorders={true}
|
83
|
+
* dropdownMenu={true}
|
84
|
+
* multiColumnSorting={true}
|
85
|
+
* filters={true}
|
86
|
+
* manualRowMove={true}
|
87
|
+
* />
|
88
|
+
* ```
|
89
|
+
* :::
|
50
90
|
*
|
51
91
|
* Depending on your needs, you can apply [configuration options](@/api/options.md) to different elements of your grid:
|
52
|
-
* - [The entire grid](@/guides/getting-started/
|
53
|
-
* - [Individual columns](@/guides/getting-started/
|
54
|
-
* - [Individual rows](@/guides/getting-started/
|
55
|
-
* - [Individual cells](@/guides/getting-started/
|
56
|
-
* - [Individual grid elements, based on any logic you implement](@/guides/getting-started/
|
92
|
+
* - [The entire grid](@/guides/getting-started/configuration-options.md#set-grid-options)
|
93
|
+
* - [Individual columns](@/guides/getting-started/configuration-options.md#set-column-options)
|
94
|
+
* - [Individual rows](@/guides/getting-started/configuration-options.md#set-row-options)
|
95
|
+
* - [Individual cells](@/guides/getting-started/configuration-options.md#set-cell-options)
|
96
|
+
* - [Individual grid elements, based on any logic you implement](@/guides/getting-started/configuration-options.md#implementing-custom-logic)
|
57
97
|
*
|
58
98
|
* Read more:
|
59
|
-
* - [Configuration options](@/guides/getting-started/
|
99
|
+
* - [Configuration options](@/guides/getting-started/configuration-options.md)
|
60
100
|
*/
|
61
|
-
|
62
101
|
export default (function () {
|
63
102
|
return {
|
64
103
|
/* eslint-disable jsdoc/require-description-complete-sentence */
|
65
104
|
|
105
|
+
/**
|
106
|
+
* Information on which of the meta properties were added automatically.
|
107
|
+
* For example: setting the `renderer` property directly won't extend the `_automaticallyAssignedMetaProps`
|
108
|
+
* entry, but setting a `type` will modify it to `Set(3) {'renderer', 'editor', 'validator', ...}`.
|
109
|
+
*
|
110
|
+
* @private
|
111
|
+
* @type {Set}
|
112
|
+
* @default undefined
|
113
|
+
*/
|
114
|
+
_automaticallyAssignedMetaProps: void 0,
|
66
115
|
/**
|
67
116
|
* The `activeHeaderClassName` option lets you add a CSS class name
|
68
117
|
* to every currently-active, currently-selected header (when a whole column or row is selected).
|
@@ -92,7 +141,6 @@ export default (function () {
|
|
92
141
|
* ```
|
93
142
|
*/
|
94
143
|
activeHeaderClassName: 'ht__active_highlight',
|
95
|
-
|
96
144
|
/**
|
97
145
|
* The `allowEmpty` option determines whether Handsontable accepts the following values:
|
98
146
|
* - `null`
|
@@ -132,7 +180,6 @@ export default (function () {
|
|
132
180
|
* ```
|
133
181
|
*/
|
134
182
|
allowEmpty: true,
|
135
|
-
|
136
183
|
/**
|
137
184
|
* The `allowHtml` option configures whether [`autocomplete`](@/guides/cell-types/autocomplete-cell-type.md)
|
138
185
|
* and [`dropdown`](@/guides/cell-types/dropdown-cell-type.md) cells' [`source`](#source) data
|
@@ -172,7 +219,6 @@ export default (function () {
|
|
172
219
|
* ```
|
173
220
|
*/
|
174
221
|
allowHtml: false,
|
175
|
-
|
176
222
|
/**
|
177
223
|
* If set to `true`, the `allowInsertColumn` option adds the following menu items to the [context menu](@/guides/accessories-and-menus/context-menu.md):
|
178
224
|
* - **Insert column left**
|
@@ -190,7 +236,6 @@ export default (function () {
|
|
190
236
|
* ```
|
191
237
|
*/
|
192
238
|
allowInsertColumn: true,
|
193
|
-
|
194
239
|
/**
|
195
240
|
* If set to `true`, the `allowInsertRow` option adds the following menu items to the [context menu](@/guides/accessories-and-menus/context-menu.md):
|
196
241
|
* - **Insert row above**
|
@@ -208,7 +253,6 @@ export default (function () {
|
|
208
253
|
* ```
|
209
254
|
*/
|
210
255
|
allowInsertRow: true,
|
211
|
-
|
212
256
|
/**
|
213
257
|
* The `allowInvalid` option determines whether Handsontable accepts values
|
214
258
|
* that were marked as `invalid` by the [cell validator](@/guides/cell-functions/cell-validator.md).
|
@@ -241,7 +285,6 @@ export default (function () {
|
|
241
285
|
* ```
|
242
286
|
*/
|
243
287
|
allowInvalid: true,
|
244
|
-
|
245
288
|
/**
|
246
289
|
* If set to `true`, the `allowRemoveColumn` option adds the following menu items to the [context menu](@/guides/accessories-and-menus/context-menu.md):
|
247
290
|
* - **Remove column**
|
@@ -261,7 +304,6 @@ export default (function () {
|
|
261
304
|
* ```
|
262
305
|
*/
|
263
306
|
allowRemoveColumn: true,
|
264
|
-
|
265
307
|
/**
|
266
308
|
* If set to `true`, the `allowRemoveRow` option adds the following menu items to the [context menu](@/guides/accessories-and-menus/context-menu.md):
|
267
309
|
* - **Remove row**
|
@@ -281,7 +323,6 @@ export default (function () {
|
|
281
323
|
* ```
|
282
324
|
*/
|
283
325
|
allowRemoveRow: true,
|
284
|
-
|
285
326
|
/**
|
286
327
|
* The `autoColumnSize` option configures the [`AutoColumnSize`](@/api/autoColumnSize.md) plugin.
|
287
328
|
*
|
@@ -332,7 +373,6 @@ export default (function () {
|
|
332
373
|
* ```
|
333
374
|
*/
|
334
375
|
autoColumnSize: void 0,
|
335
|
-
|
336
376
|
/**
|
337
377
|
* The `autoRowSize` option configures the [`AutoRowSize`](@/api/autoRowSize.md) plugin.
|
338
378
|
*
|
@@ -372,16 +412,17 @@ export default (function () {
|
|
372
412
|
* ```
|
373
413
|
*/
|
374
414
|
autoRowSize: void 0,
|
375
|
-
|
376
415
|
/**
|
377
|
-
*
|
416
|
+
* With [`autoWrapCol`](#autowrapcol) enabled:
|
417
|
+
* - When you select a bottom-most cell, pressing <kbd>**↓**</kbd> takes you to the top-most cell of the next column.
|
418
|
+
* - When you select a top-most cell, pressing <kbd>**↑**</kbd> takes you to the bottom-most cell of the previous column.
|
378
419
|
*
|
379
|
-
* You can set the `autoWrapCol` option to one of the following:
|
420
|
+
* You can set the [`autoWrapCol`](#autowrapcol) option to one of the following:
|
380
421
|
*
|
381
|
-
* | Setting | Description
|
382
|
-
* | ----------------- |
|
383
|
-
* | `true` |
|
384
|
-
* | `false` (default) |
|
422
|
+
* | Setting | Description |
|
423
|
+
* | ----------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
424
|
+
* | `true` | When you select a bottom-most cell, pressing <kbd>**↓**</kbd> takes you to the top-most cell of the next column.<br><br>When you select a top-most cell, pressing <kbd>**↑**</kbd> takes you to the bottom-most cell of the previous column. |
|
425
|
+
* | `false` (default) | When you select a bottom-most cell, pressing <kbd>**↓**</kbd> doesn't do anything.<br><br>When you select a top-most cell, pressing <kbd>**↑**</kbd> doesn't do anything. |
|
385
426
|
*
|
386
427
|
* @memberof Options#
|
387
428
|
* @type {boolean}
|
@@ -390,21 +431,29 @@ export default (function () {
|
|
390
431
|
*
|
391
432
|
* @example
|
392
433
|
* ```js
|
393
|
-
* //
|
434
|
+
* // when you select a bottom-most cell, pressing ⬇ doesn't do anything
|
435
|
+
* // when you select a top-most cell, pressing ⬆ doesn't do anything
|
436
|
+
* autoWrapCol: false, // default setting
|
437
|
+
*
|
438
|
+
* // when you select a bottom-most cell, pressing ⬇ takes you to the top-most cell of the next column
|
439
|
+
* // when you select a top-most cell, pressing ⬆ takes you to the bottom-most cell of the previous column
|
394
440
|
* autoWrapCol: true,
|
395
441
|
* ```
|
396
442
|
*/
|
397
443
|
autoWrapCol: false,
|
398
|
-
|
399
444
|
/**
|
400
|
-
*
|
445
|
+
* With [`autoWrapRow`](#autoWrapRow) enabled:
|
446
|
+
* - When you select the first cell of a row, pressing <kbd>**←**</kbd>* takes you to the last cell of the row above.
|
447
|
+
* - When you select the last cell of a row, pressing <kbd>**→**</kbd>* takes you to the first cell of the row below.
|
448
|
+
*
|
449
|
+
* You can set the [`autoWrapRow`](#autoWrapRow) option to one of the following:
|
401
450
|
*
|
402
|
-
*
|
451
|
+
* | Setting | Description |
|
452
|
+
* | ----------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
453
|
+
* | `true` | When you select the first cell of a row, pressing <kbd>**←**</kbd>* takes you to the last cell of the row above.<br><br>When you select the last cell of a row, pressing <kbd>**→**</kbd>* takes you to the first cell of the row below. |
|
454
|
+
* | `false` (default) | When you select the first cell of a row, pressing <kbd>**←**</kbd>* doesn't do anything.<br><br>When you select the last cell of a row, pressing <kbd>**→**</kbd>* doesn't do anything. |
|
403
455
|
*
|
404
|
-
*
|
405
|
-
* | ----------------- | ---------------------------------------------------------------------------------------------------------------------------- |
|
406
|
-
* | `true` | On reaching the grid's left or right edge:<br>- Jump to the grid's opposite edge<br>- Select a cell in the previous/next row |
|
407
|
-
* | `false` (default) | On reaching the grid's left or right edge, stop |
|
456
|
+
* \* The exact key depends on your [`layoutDirection`](#layoutdirection) configuration.
|
408
457
|
*
|
409
458
|
* @memberof Options#
|
410
459
|
* @type {boolean}
|
@@ -413,12 +462,16 @@ export default (function () {
|
|
413
462
|
*
|
414
463
|
* @example
|
415
464
|
* ```js
|
416
|
-
* //
|
465
|
+
* // when you select the first cell of a row, pressing ⬅ doesn't do anything
|
466
|
+
* // when you select the last cell of a row, pressing ➡️ doesn't do anything
|
467
|
+
* autoWrapRow: false, // default setting
|
468
|
+
*
|
469
|
+
* // when you select the first cell of a row, pressing ⬅ takes you to the last cell of the row above
|
470
|
+
* // when you select the last cell of a row, pressing ➡️ takes you to the first cell of the row below
|
417
471
|
* autoWrapRow: true,
|
418
472
|
* ```
|
419
473
|
*/
|
420
474
|
autoWrapRow: false,
|
421
|
-
|
422
475
|
/**
|
423
476
|
* @description
|
424
477
|
* The `bindRowsWithHeaders` option configures the [`BindRowsWithHeaders`](@/api/bindRowsWithHeaders.md) plugin.
|
@@ -445,15 +498,14 @@ export default (function () {
|
|
445
498
|
* ```
|
446
499
|
*/
|
447
500
|
bindRowsWithHeaders: void 0,
|
448
|
-
|
449
501
|
/**
|
450
|
-
* The `cell` option lets you apply [configuration options](@/guides/getting-started/
|
502
|
+
* The `cell` option lets you apply [configuration options](@/guides/getting-started/configuration-options.md) to individual cells.
|
451
503
|
*
|
452
|
-
* The `cell` option overwrites the [top-level grid options](@/guides/getting-started/
|
504
|
+
* The `cell` option overwrites the [top-level grid options](@/guides/getting-started/configuration-options.md#set-grid-options),
|
453
505
|
* and the [`columns`](#columns) options.
|
454
506
|
*
|
455
507
|
* Read more:
|
456
|
-
* - [Configuration options: Setting cell options](@/guides/getting-started/
|
508
|
+
* - [Configuration options: Setting cell options](@/guides/getting-started/configuration-options.md#set-cell-options)
|
457
509
|
* - [`columns`](#columns)
|
458
510
|
*
|
459
511
|
* @memberof Options#
|
@@ -475,10 +527,9 @@ export default (function () {
|
|
475
527
|
* ```
|
476
528
|
*/
|
477
529
|
cell: [],
|
478
|
-
|
479
530
|
/**
|
480
531
|
* @description
|
481
|
-
* The `cells` option lets you apply any other [configuration options](@/guides/getting-started/
|
532
|
+
* The `cells` option lets you apply any other [configuration options](@/guides/getting-started/configuration-options.md) to
|
482
533
|
* individual grid elements (columns, rows, cells), based on any logic you implement.
|
483
534
|
*
|
484
535
|
* The `cells` option overwrites all other options (including options set by [`columns`](#columns) and [`cell`](#cell)).
|
@@ -491,8 +542,8 @@ export default (function () {
|
|
491
542
|
* | `prop` | No | String \| Number | If [`data`](#data) is set to an [array of arrays](@/guides/getting-started/binding-to-data.md#array-of-arrays), `prop` is the same number as `column`.<br><br>If [`data`](#data) is set to an [array of objects](@/guides/getting-started/binding-to-data.md#array-of-objects), `prop` is a property name for the column's data object. |
|
492
543
|
*
|
493
544
|
* Read more:
|
494
|
-
* - [Configuration options: Implementing custom logic](@/guides/getting-started/
|
495
|
-
* - [Configuration options: Setting row options](@/guides/getting-started/
|
545
|
+
* - [Configuration options: Implementing custom logic](@/guides/getting-started/configuration-options.md#implement-custom-logic)
|
546
|
+
* - [Configuration options: Setting row options](@/guides/getting-started/configuration-options.md#set-row-options)
|
496
547
|
* - [`columns`](#columns)
|
497
548
|
* - [`cell`](#cell)
|
498
549
|
*
|
@@ -518,7 +569,6 @@ export default (function () {
|
|
518
569
|
* ```
|
519
570
|
*/
|
520
571
|
cells: void 0,
|
521
|
-
|
522
572
|
/**
|
523
573
|
* The `checkedTemplate` option lets you configure what value
|
524
574
|
* a checked [`checkbox`](@/guides/cell-types/checkbox-cell-type.md) cell has.
|
@@ -561,7 +611,6 @@ export default (function () {
|
|
561
611
|
* ```
|
562
612
|
*/
|
563
613
|
checkedTemplate: void 0,
|
564
|
-
|
565
614
|
/**
|
566
615
|
* The `className` option lets you add CSS class names to every currently-selected element.
|
567
616
|
*
|
@@ -572,10 +621,15 @@ export default (function () {
|
|
572
621
|
* | A string | Add a single CSS class name to every currently-selected element |
|
573
622
|
* | An array of strings | Add multiple CSS class names to every currently-selected element |
|
574
623
|
*
|
575
|
-
*
|
624
|
+
* ::: tip
|
625
|
+
* Don't change the `className` metadata of the [column summary](@/guides/columns/column-summary.md) row.
|
626
|
+
* To style the summary row, use the class name assigned automatically by the [`ColumnSummary`](@/api/columnSummary.md) plugin: `columnSummaryResult`.
|
627
|
+
* :::
|
628
|
+
*
|
629
|
+
* To apply different CSS class names on different levels, use Handsontable's [cascading configuration](@/guides/getting-started/configuration-options.md#cascading-configuration).
|
576
630
|
*
|
577
631
|
* Read more:
|
578
|
-
* - [Configuration options: Cascading configuration](@/guides/getting-started/
|
632
|
+
* - [Configuration options: Cascading configuration](@/guides/getting-started/configuration-options.md#cascading-configuration)
|
579
633
|
* - [`currentRowClassName`](#currentRowClassName)
|
580
634
|
* - [`currentColClassName`](#currentColClassName)
|
581
635
|
* - [`currentHeaderClassName`](#currentHeaderClassName)
|
@@ -604,7 +658,6 @@ export default (function () {
|
|
604
658
|
* ```
|
605
659
|
*/
|
606
660
|
className: void 0,
|
607
|
-
|
608
661
|
/**
|
609
662
|
* The `colHeaders` option configures your grid's column headers.
|
610
663
|
*
|
@@ -640,7 +693,6 @@ export default (function () {
|
|
640
693
|
* ```
|
641
694
|
*/
|
642
695
|
colHeaders: null,
|
643
|
-
|
644
696
|
/**
|
645
697
|
* @description
|
646
698
|
* The `collapsibleColumns` option configures the [`CollapsibleColumns`](@/api/collapsibleColumns.md) plugin.
|
@@ -674,7 +726,6 @@ export default (function () {
|
|
674
726
|
* ```
|
675
727
|
*/
|
676
728
|
collapsibleColumns: void 0,
|
677
|
-
|
678
729
|
/**
|
679
730
|
* @description
|
680
731
|
* The `columnHeaderHeight` option configures the height of column headers.
|
@@ -701,21 +752,20 @@ export default (function () {
|
|
701
752
|
* ```
|
702
753
|
*/
|
703
754
|
columnHeaderHeight: void 0,
|
704
|
-
|
705
755
|
/**
|
706
756
|
* @description
|
707
|
-
* The `columns` option lets you apply any other [configuration options](@/guides/getting-started/
|
757
|
+
* The `columns` option lets you apply any other [configuration options](@/guides/getting-started/configuration-options.md) to individual columns (or ranges of columns).
|
708
758
|
*
|
709
759
|
* You can set the `columns` option to one of the following:
|
710
760
|
* - An array of objects (each object represents one column)
|
711
761
|
* - A function that returns an array of objects
|
712
762
|
*
|
713
|
-
* The `columns` option overwrites the [top-level grid options](@/guides/getting-started/
|
763
|
+
* The `columns` option overwrites the [top-level grid options](@/guides/getting-started/configuration-options.md#set-grid-options).
|
714
764
|
*
|
715
765
|
* When you use `columns`, the [`startCols`](#startCols), [`minCols`](#minCols), and [`maxCols`](#maxCols) options are ignored.
|
716
766
|
*
|
717
767
|
* Read more:
|
718
|
-
* - [Configuration options: Setting column options](@/guides/getting-started/
|
768
|
+
* - [Configuration options: Setting column options](@/guides/getting-started/configuration-options.md#set-column-options)
|
719
769
|
* - [`startCols`](#startCols)
|
720
770
|
* - [`minCols`](#minCols)
|
721
771
|
* - [`maxCols`](#maxCols)
|
@@ -755,7 +805,6 @@ export default (function () {
|
|
755
805
|
* ```
|
756
806
|
*/
|
757
807
|
columns: void 0,
|
758
|
-
|
759
808
|
/**
|
760
809
|
* @description
|
761
810
|
* The `columnSorting` option configures the [`ColumnSorting`](@/api/columnSorting.md) plugin.
|
@@ -835,7 +884,6 @@ export default (function () {
|
|
835
884
|
* ```
|
836
885
|
*/
|
837
886
|
columnSorting: void 0,
|
838
|
-
|
839
887
|
/**
|
840
888
|
* @description
|
841
889
|
* The `columnSummary` option configures the [`ColumnSummary`](@/api/columnSummary.md) plugin.
|
@@ -850,12 +898,12 @@ export default (function () {
|
|
850
898
|
* | `type` | `'sum'` \| `'min'` \| `'max'` \| `'count'` \| `'average'` \| `'custom'` | [Summary function](@/guides/columns/column-summary.md#step-3-calculate-your-summary) |
|
851
899
|
* | `destinationRow` | A number | [Destination cell's row coordinate](@/guides/columns/column-summary.md#step-4-provide-the-destination-cell-s-coordinates) |
|
852
900
|
* | `destinationColumn` | A number | [Destination cell's column coordinate](@/guides/columns/column-summary.md#step-4-provide-the-destination-cell-s-coordinates) |
|
853
|
-
* | `forceNumeric` | `true` \| `false` | [Treat non-numerics as numerics](@/guides/columns/column-summary.md#
|
901
|
+
* | `forceNumeric` | `true` \| `false` | [Treat non-numerics as numerics](@/guides/columns/column-summary.md#force-numeric-values) |
|
854
902
|
* | `reversedRowCoords` | `true` \| `false` | [Reverse row coordinates](@/guides/columns/column-summary.md#step-5-make-room-for-the-destination-cell) |
|
855
|
-
* | `suppressDataTypeErrors` | `true` \| `false` | [Suppress data type errors](@/guides/columns/column-summary.md#
|
903
|
+
* | `suppressDataTypeErrors` | `true` \| `false` | [Suppress data type errors](@/guides/columns/column-summary.md#throw-data-type-errors) |
|
856
904
|
* | `readOnly` | `true` \| `false` | Make summary cell read-only |
|
857
|
-
* | `roundFloat` | `true` \| `false` | [Round summary result](@/guides/columns/column-summary.md#
|
858
|
-
* | `customFunction` | A function | [Custom summary function](@/guides/columns/column-summary.md#
|
905
|
+
* | `roundFloat` | `true` \| `false` | [Round summary result](@/guides/columns/column-summary.md#round-a-column-summary-result) |
|
906
|
+
* | `customFunction` | A function | [Custom summary function](@/guides/columns/column-summary.md#implement-a-custom-summary-function) |
|
859
907
|
*
|
860
908
|
* Read more:
|
861
909
|
* - [Column summary](@/guides/columns/column-summary.md)
|
@@ -890,7 +938,6 @@ export default (function () {
|
|
890
938
|
* ```
|
891
939
|
*/
|
892
940
|
columnSummary: void 0,
|
893
|
-
|
894
941
|
/**
|
895
942
|
* The `colWidths` option sets columns' widths, in pixels.
|
896
943
|
*
|
@@ -938,7 +985,6 @@ export default (function () {
|
|
938
985
|
* ```
|
939
986
|
*/
|
940
987
|
colWidths: void 0,
|
941
|
-
|
942
988
|
/**
|
943
989
|
* The `commentedCellClassName` option lets you add a CSS class name to cells
|
944
990
|
* that have comments.
|
@@ -970,7 +1016,6 @@ export default (function () {
|
|
970
1016
|
* ```
|
971
1017
|
*/
|
972
1018
|
commentedCellClassName: 'htCommentCell',
|
973
|
-
|
974
1019
|
/**
|
975
1020
|
* @description
|
976
1021
|
* The `comments` option configures the [`Comments`](@/api/comments.md) plugin.
|
@@ -1025,7 +1070,6 @@ export default (function () {
|
|
1025
1070
|
* ```
|
1026
1071
|
*/
|
1027
1072
|
comments: false,
|
1028
|
-
|
1029
1073
|
/**
|
1030
1074
|
* @description
|
1031
1075
|
* The `contextMenu` option configures the [`ContextMenu`](@/api/contextMenu.md) plugin.
|
@@ -1037,13 +1081,13 @@ export default (function () {
|
|
1037
1081
|
* | `false` | Disable the [`ContextMenu`](@/api/contextMenu.md) plugin |
|
1038
1082
|
* | `true` | - Enable the [`ContextMenu`](@/api/contextMenu.md) plugin<br>- Use the [default context menu options](@/guides/accessories-and-menus/context-menu.md#context-menu-with-default-options) |
|
1039
1083
|
* | An array | - Enable the [`ContextMenu`](@/api/contextMenu.md) plugin<br>- Modify [individual context menu options](@/guides/accessories-and-menus/context-menu.md#context-menu-with-specific-options) |
|
1040
|
-
* | An object | - Enable the [`ContextMenu`](@/api/contextMenu.md) plugin<br>- Apply a [custom context menu configuration](@/guides/accessories-and-menus/context-menu.md#context-menu-with-fully-custom-configuration) |
|
1084
|
+
* | An object | - Enable the [`ContextMenu`](@/api/contextMenu.md) plugin<br>- Apply a [custom context menu configuration](@/guides/accessories-and-menus/context-menu.md#context-menu-with-a-fully-custom-configuration) |
|
1041
1085
|
*
|
1042
1086
|
* Read more:
|
1043
1087
|
* - [Context menu](@/guides/accessories-and-menus/context-menu.md)
|
1044
1088
|
* - [Context menu: Context menu with default options](@/guides/accessories-and-menus/context-menu.md#context-menu-with-default-options)
|
1045
1089
|
* - [Context menu: Context menu with specific options](@/guides/accessories-and-menus/context-menu.md#context-menu-with-specific-options)
|
1046
|
-
* - [Context menu: Context menu with fully custom configuration options](@/guides/accessories-and-menus/context-menu.md#context-menu-with-fully-custom-configuration)
|
1090
|
+
* - [Context menu: Context menu with fully custom configuration options](@/guides/accessories-and-menus/context-menu.md#context-menu-with-a-fully-custom-configuration)
|
1047
1091
|
* - [Plugins: `ContextMenu`](@/api/contextMenu.md)
|
1048
1092
|
*
|
1049
1093
|
* @memberof Options#
|
@@ -1088,7 +1132,6 @@ export default (function () {
|
|
1088
1132
|
* ```
|
1089
1133
|
*/
|
1090
1134
|
contextMenu: void 0,
|
1091
|
-
|
1092
1135
|
/**
|
1093
1136
|
* @description
|
1094
1137
|
* The `copyable` option determines whether a cell's value can be copied to the clipboard or not.
|
@@ -1102,7 +1145,7 @@ export default (function () {
|
|
1102
1145
|
*
|
1103
1146
|
* Read more:
|
1104
1147
|
* - [Clipboard](@/guides/cell-features/clipboard.md)
|
1105
|
-
* - [Configuration options: Cascading configuration](@/guides/getting-started/
|
1148
|
+
* - [Configuration options: Cascading configuration](@/guides/getting-started/configuration-options.md#cascading-configuration)
|
1106
1149
|
* - [Password cell type](@/guides/cell-types/password-cell-type.md)
|
1107
1150
|
*
|
1108
1151
|
* @memberof Options#
|
@@ -1139,7 +1182,6 @@ export default (function () {
|
|
1139
1182
|
* ```
|
1140
1183
|
*/
|
1141
1184
|
copyable: true,
|
1142
|
-
|
1143
1185
|
/**
|
1144
1186
|
* The `copyPaste` option configures the [`CopyPaste`](@/api/copyPaste.md) plugin.
|
1145
1187
|
*
|
@@ -1151,17 +1193,23 @@ export default (function () {
|
|
1151
1193
|
* | `false` | Disable the [`CopyPaste`](@/api/copyPaste.md) plugin |
|
1152
1194
|
* | An object | - Enable the [`CopyPaste`](@/api/copyPaste.md) plugin<br>- Modify the [`CopyPaste`](@/api/copyPaste.md) plugin options |
|
1153
1195
|
*
|
1196
|
+
* ##### copyPaste: Additional options
|
1197
|
+
*
|
1154
1198
|
* If you set the `copyPaste` option to an object, you can set the following `CopyPaste` plugin options:
|
1155
1199
|
*
|
1156
|
-
* | Option
|
1157
|
-
* |
|
1158
|
-
* | `columnsLimit`
|
1159
|
-
* | `rowsLimit`
|
1160
|
-
* | `pasteMode`
|
1161
|
-
* | `
|
1200
|
+
* | Option | Possible settings | Description |
|
1201
|
+
* | ------------------------ | -------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
1202
|
+
* | `columnsLimit` | A number (default: `Infinity`) | The maximum number of columns that can be copied |
|
1203
|
+
* | `rowsLimit` | A number (default: `Infinity`) | The maximum number of columns that can be copied |
|
1204
|
+
* | `pasteMode` | `'overwrite'` \| `'shift_down'` \| `'shift_right'` | When pasting:<br>`'overwrite'`: overwrite the currently-selected cells<br>`'shift_down'`: move the currently-selected cells down<br>`'shift_right'`: move the currently-selected cells to the right |
|
1205
|
+
* | `copyColumnHeaders` | Boolean (default: `false`) | `true`: add a context menu option for copying cells along with their nearest column headers |
|
1206
|
+
* | `copyColumnGroupHeaders` | Boolean (default: `false`) | `true`: add a context menu option for copying cells along with all their related columns headers |
|
1207
|
+
* | `copyColumnHeadersOnly` | Boolean (default: `false`) | `true`: add a context menu option for copying column headers nearest to the selected cells (without copying cells) |
|
1208
|
+
* | `uiContainer` | An HTML element | The UI container for the secondary focusable element |
|
1162
1209
|
*
|
1163
1210
|
* Read more:
|
1164
1211
|
* - [Plugins: `CopyPaste`](@/api/copyPaste.md)
|
1212
|
+
* - [Guides: Clipboard](@/guides/cell-features/clipboard.md)
|
1165
1213
|
*
|
1166
1214
|
* @memberof Options#
|
1167
1215
|
* @type {object|boolean}
|
@@ -1170,25 +1218,38 @@ export default (function () {
|
|
1170
1218
|
*
|
1171
1219
|
* @example
|
1172
1220
|
* ```js
|
1173
|
-
* //
|
1221
|
+
* // enable the plugin with the default configuration
|
1222
|
+
* copyPaste: true // set by default
|
1223
|
+
*
|
1224
|
+
* // disable the plugin
|
1174
1225
|
* copyPaste: false,
|
1175
1226
|
*
|
1176
|
-
* // enable the
|
1177
|
-
* // and modify the `CopyPaste` plugin options
|
1227
|
+
* // enable the plugin with a custom configuration
|
1178
1228
|
* copyPaste: {
|
1179
|
-
* // set
|
1229
|
+
* // set a maximum number of columns that can be copied
|
1180
1230
|
* columnsLimit: 25,
|
1181
|
-
*
|
1231
|
+
*
|
1232
|
+
* // set a maximum number of rows that can be copied
|
1182
1233
|
* rowsLimit: 50,
|
1234
|
+
*
|
1183
1235
|
* // set the paste behavior
|
1184
1236
|
* pasteMode: 'shift_down',
|
1185
|
-
*
|
1237
|
+
*
|
1238
|
+
* // add the option to copy cells along with their nearest column headers
|
1239
|
+
* copyColumnHeaders: true,
|
1240
|
+
*
|
1241
|
+
* // add the option to copy cells along with all their related columns headers
|
1242
|
+
* copyColumnGroupHeaders: true,
|
1243
|
+
*
|
1244
|
+
* // add the option to copy just column headers (without copying cells)
|
1245
|
+
* copyColumnHeadersOnly: true,
|
1246
|
+
*
|
1247
|
+
* // set a UI container
|
1186
1248
|
* uiContainer: document.body,
|
1187
1249
|
* },
|
1188
1250
|
* ```
|
1189
1251
|
*/
|
1190
1252
|
copyPaste: true,
|
1191
|
-
|
1192
1253
|
/**
|
1193
1254
|
* The `correctFormat` option configures whether incorrectly-formatted times and dates are amended or not.
|
1194
1255
|
*
|
@@ -1236,7 +1297,6 @@ export default (function () {
|
|
1236
1297
|
* ```
|
1237
1298
|
*/
|
1238
1299
|
correctFormat: false,
|
1239
|
-
|
1240
1300
|
/**
|
1241
1301
|
* The `currentColClassName` option lets you add a CSS class name
|
1242
1302
|
* to each cell of the currently-visible, currently-selected columns.
|
@@ -1266,7 +1326,6 @@ export default (function () {
|
|
1266
1326
|
* ```
|
1267
1327
|
*/
|
1268
1328
|
currentColClassName: void 0,
|
1269
|
-
|
1270
1329
|
/**
|
1271
1330
|
* The `currentHeaderClassName` option lets you add a CSS class name
|
1272
1331
|
* to every currently-visible, currently-selected header.
|
@@ -1295,7 +1354,6 @@ export default (function () {
|
|
1295
1354
|
* ```
|
1296
1355
|
*/
|
1297
1356
|
currentHeaderClassName: 'ht__highlight',
|
1298
|
-
|
1299
1357
|
/**
|
1300
1358
|
* The `currentRowClassName` option lets you add a CSS class name
|
1301
1359
|
* to each cell of the currently-visible, currently-selected rows.
|
@@ -1325,7 +1383,6 @@ export default (function () {
|
|
1325
1383
|
* ```
|
1326
1384
|
*/
|
1327
1385
|
currentRowClassName: void 0,
|
1328
|
-
|
1329
1386
|
/**
|
1330
1387
|
* @description
|
1331
1388
|
* The `customBorders` option configures the [`CustomBorders`](@/api/customBorders.md) plugin.
|
@@ -1438,7 +1495,6 @@ export default (function () {
|
|
1438
1495
|
* ```
|
1439
1496
|
*/
|
1440
1497
|
customBorders: false,
|
1441
|
-
|
1442
1498
|
/**
|
1443
1499
|
* @description
|
1444
1500
|
* The `data` option sets the initial [data](@/guides/getting-started/binding-to-data.md) of your Handsontable instance.
|
@@ -1482,7 +1538,6 @@ export default (function () {
|
|
1482
1538
|
* ```
|
1483
1539
|
*/
|
1484
1540
|
data: void 0,
|
1485
|
-
|
1486
1541
|
/**
|
1487
1542
|
* @description
|
1488
1543
|
* When the [`data`](#data) option is set to an [array of objects](@/guides/getting-started/binding-to-data.md#array-of-objects)
|
@@ -1521,7 +1576,6 @@ export default (function () {
|
|
1521
1576
|
* ```
|
1522
1577
|
*/
|
1523
1578
|
dataSchema: void 0,
|
1524
|
-
|
1525
1579
|
/**
|
1526
1580
|
* The `dateFormat` option configures the date format accepted by [`date`](@/guides/cell-types/date-cell-type.md) cells.
|
1527
1581
|
*
|
@@ -1552,7 +1606,6 @@ export default (function () {
|
|
1552
1606
|
* ```
|
1553
1607
|
*/
|
1554
1608
|
dateFormat: 'DD/MM/YYYY',
|
1555
|
-
|
1556
1609
|
/**
|
1557
1610
|
* The `datePickerConfig` option configures the `date` [cell editor](@/guides/cell-functions/cell-editor.md)'s date picker, which uses an external dependency: [Pikaday](https://github.com/Pikaday/Pikaday/tree/1.8.2).
|
1558
1611
|
*
|
@@ -1582,7 +1635,6 @@ export default (function () {
|
|
1582
1635
|
* @category Core
|
1583
1636
|
*/
|
1584
1637
|
datePickerConfig: void 0,
|
1585
|
-
|
1586
1638
|
/**
|
1587
1639
|
* The `defaultDate` option configures the date displayed
|
1588
1640
|
* in empty [`date`](@/guides/cell-types/date-cell-type.md) cells.
|
@@ -1611,7 +1663,6 @@ export default (function () {
|
|
1611
1663
|
* ```
|
1612
1664
|
*/
|
1613
1665
|
defaultDate: void 0,
|
1614
|
-
|
1615
1666
|
/**
|
1616
1667
|
* @description
|
1617
1668
|
* The `disableVisualSelection` option configures how
|
@@ -1655,7 +1706,6 @@ export default (function () {
|
|
1655
1706
|
* ```
|
1656
1707
|
*/
|
1657
1708
|
disableVisualSelection: false,
|
1658
|
-
|
1659
1709
|
/**
|
1660
1710
|
* @description
|
1661
1711
|
* The `dragToScroll` option configures the [`DragToScroll`](@/api/dragToScroll.md) plugin.
|
@@ -1682,7 +1732,6 @@ export default (function () {
|
|
1682
1732
|
* ```
|
1683
1733
|
*/
|
1684
1734
|
dragToScroll: true,
|
1685
|
-
|
1686
1735
|
/**
|
1687
1736
|
* The `dropdownMenu` option configures the [`DropdownMenu`](@/api/dropdownMenu.md) plugin.
|
1688
1737
|
*
|
@@ -1741,7 +1790,6 @@ export default (function () {
|
|
1741
1790
|
* ```
|
1742
1791
|
*/
|
1743
1792
|
dropdownMenu: void 0,
|
1744
|
-
|
1745
1793
|
/**
|
1746
1794
|
* The `editor` option sets a [cell editor](@/guides/cell-functions/cell-editor.md) for a cell.
|
1747
1795
|
*
|
@@ -1773,7 +1821,7 @@ export default (function () {
|
|
1773
1821
|
* Read more:
|
1774
1822
|
* - [Cell editor](@/guides/cell-functions/cell-editor.md)
|
1775
1823
|
* - [Cell type](@/guides/cell-types/cell-type.md)
|
1776
|
-
* - [Configuration options: Cascading configuration](@/guides/getting-started/
|
1824
|
+
* - [Configuration options: Cascading configuration](@/guides/getting-started/configuration-options.md#cascading-configuration)
|
1777
1825
|
* - [`type`](#type)
|
1778
1826
|
*
|
1779
1827
|
* @memberof Options#
|
@@ -1800,7 +1848,6 @@ export default (function () {
|
|
1800
1848
|
* ```
|
1801
1849
|
*/
|
1802
1850
|
editor: void 0,
|
1803
|
-
|
1804
1851
|
/**
|
1805
1852
|
* The `enterBeginsEditing` option configures the action of the <kbd>**Enter**</kbd> key.
|
1806
1853
|
*
|
@@ -1830,7 +1877,6 @@ export default (function () {
|
|
1830
1877
|
* ```
|
1831
1878
|
*/
|
1832
1879
|
enterBeginsEditing: true,
|
1833
|
-
|
1834
1880
|
/**
|
1835
1881
|
* The `enterMoves` option configures the action of the <kbd>**Enter**</kbd> key.
|
1836
1882
|
*
|
@@ -1874,7 +1920,6 @@ export default (function () {
|
|
1874
1920
|
col: 0,
|
1875
1921
|
row: 1
|
1876
1922
|
},
|
1877
|
-
|
1878
1923
|
/**
|
1879
1924
|
* The `fillHandle` option configures the [Autofill](@/api/autofill.md) plugin.
|
1880
1925
|
*
|
@@ -1934,7 +1979,6 @@ export default (function () {
|
|
1934
1979
|
fillHandle: {
|
1935
1980
|
autoInsertRow: false
|
1936
1981
|
},
|
1937
|
-
|
1938
1982
|
/**
|
1939
1983
|
* The `filter` option configures whether [`autocomplete`](@/guides/cell-types/autocomplete-cell-type.md) cells'
|
1940
1984
|
* lists are updated by the end user's input.
|
@@ -1971,7 +2015,6 @@ export default (function () {
|
|
1971
2015
|
* ```
|
1972
2016
|
*/
|
1973
2017
|
filter: true,
|
1974
|
-
|
1975
2018
|
/**
|
1976
2019
|
* The `filteringCaseSensitive` option configures whether [`autocomplete`](@/guides/cell-types/autocomplete-cell-type.md) cells'
|
1977
2020
|
* input is case-sensitive.
|
@@ -2006,7 +2049,6 @@ export default (function () {
|
|
2006
2049
|
* ```
|
2007
2050
|
*/
|
2008
2051
|
filteringCaseSensitive: false,
|
2009
|
-
|
2010
2052
|
/**
|
2011
2053
|
* The `filters` option configures the [`Filters`](@/api/filters.md) plugin.
|
2012
2054
|
*
|
@@ -2034,7 +2076,6 @@ export default (function () {
|
|
2034
2076
|
* ```
|
2035
2077
|
*/
|
2036
2078
|
filters: void 0,
|
2037
|
-
|
2038
2079
|
/**
|
2039
2080
|
* `fixedColumnsLeft` is a legacy option.
|
2040
2081
|
*
|
@@ -2059,7 +2100,6 @@ export default (function () {
|
|
2059
2100
|
* ```
|
2060
2101
|
*/
|
2061
2102
|
fixedColumnsLeft: 0,
|
2062
|
-
|
2063
2103
|
/**
|
2064
2104
|
* If your grid's [layout direction](@/guides/internationalization/layout-direction.md) is LTR (default), the `fixedColumnsStart` option sets the number of [frozen columns](@/guides/columns/column-freezing.md) at the left-hand edge of the grid.
|
2065
2105
|
*
|
@@ -2098,7 +2138,6 @@ export default (function () {
|
|
2098
2138
|
* ```
|
2099
2139
|
*/
|
2100
2140
|
fixedColumnsStart: 0,
|
2101
|
-
|
2102
2141
|
/**
|
2103
2142
|
* The `fixedRowsBottom` option sets the number of [frozen rows](@/guides/rows/row-freezing.md)
|
2104
2143
|
* at the bottom of the grid.
|
@@ -2118,7 +2157,6 @@ export default (function () {
|
|
2118
2157
|
* ```
|
2119
2158
|
*/
|
2120
2159
|
fixedRowsBottom: 0,
|
2121
|
-
|
2122
2160
|
/**
|
2123
2161
|
* The `fixedRowsTop` option sets the number of [frozen rows](@/guides/rows/row-freezing.md) at the top of the grid.
|
2124
2162
|
*
|
@@ -2137,7 +2175,6 @@ export default (function () {
|
|
2137
2175
|
* ```
|
2138
2176
|
*/
|
2139
2177
|
fixedRowsTop: 0,
|
2140
|
-
|
2141
2178
|
/**
|
2142
2179
|
* The `formulas` option configures the [`Formulas`](@/api/formulas.md) plugin.
|
2143
2180
|
*
|
@@ -2217,7 +2254,6 @@ export default (function () {
|
|
2217
2254
|
* ```
|
2218
2255
|
*/
|
2219
2256
|
formulas: void 0,
|
2220
|
-
|
2221
2257
|
/**
|
2222
2258
|
* The `fragmentSelection` option configures text selection settings.
|
2223
2259
|
*
|
@@ -2244,7 +2280,6 @@ export default (function () {
|
|
2244
2280
|
* ```
|
2245
2281
|
*/
|
2246
2282
|
fragmentSelection: false,
|
2247
|
-
|
2248
2283
|
/**
|
2249
2284
|
* The `height` option configures the height of your grid.
|
2250
2285
|
*
|
@@ -2279,7 +2314,6 @@ export default (function () {
|
|
2279
2314
|
* ```
|
2280
2315
|
*/
|
2281
2316
|
height: void 0,
|
2282
|
-
|
2283
2317
|
/**
|
2284
2318
|
* The `hiddenColumns` option configures the [`HiddenColumns`](@/api/hiddenColumns.md) plugin.
|
2285
2319
|
*
|
@@ -2325,7 +2359,6 @@ export default (function () {
|
|
2325
2359
|
* ```
|
2326
2360
|
*/
|
2327
2361
|
hiddenColumns: void 0,
|
2328
|
-
|
2329
2362
|
/**
|
2330
2363
|
* The `hiddenRows` option configures the [`HiddenRows`](@/api/hiddenRows.md) plugin.
|
2331
2364
|
*
|
@@ -2371,7 +2404,6 @@ export default (function () {
|
|
2371
2404
|
* ```
|
2372
2405
|
*/
|
2373
2406
|
hiddenRows: void 0,
|
2374
|
-
|
2375
2407
|
/**
|
2376
2408
|
* The `invalidCellClassName` option lets you add a CSS class name to cells
|
2377
2409
|
* that were marked as `invalid` by the [cell validator](@/guides/cell-functions/cell-validator.md).
|
@@ -2401,7 +2433,6 @@ export default (function () {
|
|
2401
2433
|
* ```
|
2402
2434
|
*/
|
2403
2435
|
invalidCellClassName: 'htInvalid',
|
2404
|
-
|
2405
2436
|
/**
|
2406
2437
|
* The `isEmptyCol` option lets you define your own custom method
|
2407
2438
|
* for checking if a column at a given visual index is empty.
|
@@ -2427,18 +2458,14 @@ export default (function () {
|
|
2427
2458
|
var row;
|
2428
2459
|
var rowLen;
|
2429
2460
|
var value;
|
2430
|
-
|
2431
2461
|
for (row = 0, rowLen = this.countRows(); row < rowLen; row++) {
|
2432
2462
|
value = this.getDataAtCell(row, col);
|
2433
|
-
|
2434
2463
|
if (isEmpty(value) === false) {
|
2435
2464
|
return false;
|
2436
2465
|
}
|
2437
2466
|
}
|
2438
|
-
|
2439
2467
|
return true;
|
2440
2468
|
},
|
2441
|
-
|
2442
2469
|
/**
|
2443
2470
|
* The `isEmptyRow` option lets you define your own custom method
|
2444
2471
|
* for checking if a row at a given visual index is empty.
|
@@ -2465,23 +2492,18 @@ export default (function () {
|
|
2465
2492
|
var colLen;
|
2466
2493
|
var value;
|
2467
2494
|
var meta;
|
2468
|
-
|
2469
2495
|
for (col = 0, colLen = this.countCols(); col < colLen; col++) {
|
2470
2496
|
value = this.getDataAtCell(row, col);
|
2471
|
-
|
2472
2497
|
if (isEmpty(value) === false) {
|
2473
2498
|
if (_typeof(value) === 'object') {
|
2474
2499
|
meta = this.getCellMeta(row, col);
|
2475
2500
|
return isObjectEqual(this.getSchema()[meta.prop], value);
|
2476
2501
|
}
|
2477
|
-
|
2478
2502
|
return false;
|
2479
2503
|
}
|
2480
2504
|
}
|
2481
|
-
|
2482
2505
|
return true;
|
2483
2506
|
},
|
2484
|
-
|
2485
2507
|
/**
|
2486
2508
|
* @description
|
2487
2509
|
* The `label` option configures [`checkbox`](@/guides/cell-types/checkbox-cell-type.md) cells` labels.
|
@@ -2513,7 +2535,6 @@ export default (function () {
|
|
2513
2535
|
* ```
|
2514
2536
|
*/
|
2515
2537
|
label: void 0,
|
2516
|
-
|
2517
2538
|
/**
|
2518
2539
|
* The `language` option configures Handsontable's [language](@/guides/internationalization/language.md) settings.
|
2519
2540
|
*
|
@@ -2558,13 +2579,12 @@ export default (function () {
|
|
2558
2579
|
* ```
|
2559
2580
|
*/
|
2560
2581
|
language: 'en-US',
|
2561
|
-
|
2562
2582
|
/**
|
2563
2583
|
* The `layoutDirection` option configures whether Handsontable renders from the left to the right, or from the right to the left.
|
2564
2584
|
*
|
2565
2585
|
* You can set the layout direction only at Handsontable's [initialization](@/guides/getting-started/installation.md#initialize-handsontable). Any change of the `layoutDirection` option after the initialization (e.g. using the [`updateSettings()`](@/api/core.md#updatesettings) method) is ignored.
|
2566
2586
|
*
|
2567
|
-
* You can set the `layoutDirection` option only [for the entire grid](@/guides/getting-started/
|
2587
|
+
* You can set the `layoutDirection` option only [for the entire grid](@/guides/getting-started/configuration-options.md#set-grid-options).
|
2568
2588
|
* You can't set it for individual columns, rows, or cells.
|
2569
2589
|
*
|
2570
2590
|
* You can set the `layoutDirection` option to one of the following strings:
|
@@ -2604,7 +2624,6 @@ export default (function () {
|
|
2604
2624
|
* ```
|
2605
2625
|
*/
|
2606
2626
|
layoutDirection: 'inherit',
|
2607
|
-
|
2608
2627
|
/**
|
2609
2628
|
* The `licenseKey` option sets your Handsontable license key.
|
2610
2629
|
*
|
@@ -2633,13 +2652,12 @@ export default (function () {
|
|
2633
2652
|
* ```
|
2634
2653
|
*/
|
2635
2654
|
licenseKey: void 0,
|
2636
|
-
|
2637
2655
|
/**
|
2638
2656
|
* The `locale` option configures Handsontable's [locale](@/guides/internationalization/locale.md) settings.
|
2639
2657
|
*
|
2640
2658
|
* You can set the `locale` option to any valid and canonicalized Unicode BCP 47 locale tag,
|
2641
|
-
* both for the [entire grid](@/guides/internationalization/locale.md#
|
2642
|
-
* and for [individual columns](@/guides/internationalization/locale.md#
|
2659
|
+
* both for the [entire grid](@/guides/internationalization/locale.md#set-the-grid-s-locale),
|
2660
|
+
* and for [individual columns](@/guides/internationalization/locale.md#set-a-column-s-locale).
|
2643
2661
|
*
|
2644
2662
|
* Read more:
|
2645
2663
|
* - [Locale](@/guides/internationalization/locale.md)
|
@@ -2670,7 +2688,6 @@ export default (function () {
|
|
2670
2688
|
* ```
|
2671
2689
|
*/
|
2672
2690
|
locale: 'en-US',
|
2673
|
-
|
2674
2691
|
/**
|
2675
2692
|
* The `manualColumnFreeze` option configures the [`ManualColumnFreeze`](@/api/manualColumnFreeze.md) plugin.
|
2676
2693
|
*
|
@@ -2696,7 +2713,6 @@ export default (function () {
|
|
2696
2713
|
* ```
|
2697
2714
|
*/
|
2698
2715
|
manualColumnFreeze: void 0,
|
2699
|
-
|
2700
2716
|
/**
|
2701
2717
|
* The `manualColumnMove` option configures the [`ManualColumnMove`](@/api/manualColumnMove.md) plugin.
|
2702
2718
|
*
|
@@ -2729,7 +2745,6 @@ export default (function () {
|
|
2729
2745
|
* ```
|
2730
2746
|
*/
|
2731
2747
|
manualColumnMove: void 0,
|
2732
|
-
|
2733
2748
|
/**
|
2734
2749
|
* @description
|
2735
2750
|
* The `manualColumnResize` option configures the [`ManualColumnResize`](@/api/manualColumnResize.md) plugin.
|
@@ -2763,7 +2778,6 @@ export default (function () {
|
|
2763
2778
|
* ```
|
2764
2779
|
*/
|
2765
2780
|
manualColumnResize: void 0,
|
2766
|
-
|
2767
2781
|
/**
|
2768
2782
|
* @description
|
2769
2783
|
* The `manualRowMove` option configures the [`ManualRowMove`](@/api/manualRowMove.md) plugin.
|
@@ -2797,7 +2811,6 @@ export default (function () {
|
|
2797
2811
|
* ```
|
2798
2812
|
*/
|
2799
2813
|
manualRowMove: void 0,
|
2800
|
-
|
2801
2814
|
/**
|
2802
2815
|
* @description
|
2803
2816
|
* The `manualRowResize` option configures the [`ManualRowResize`](@/api/manualRowResize.md) plugin.
|
@@ -2831,7 +2844,6 @@ export default (function () {
|
|
2831
2844
|
* ```
|
2832
2845
|
*/
|
2833
2846
|
manualRowResize: void 0,
|
2834
|
-
|
2835
2847
|
/**
|
2836
2848
|
* The `maxCols` option sets a maximum number of columns.
|
2837
2849
|
*
|
@@ -2852,7 +2864,6 @@ export default (function () {
|
|
2852
2864
|
* ```
|
2853
2865
|
*/
|
2854
2866
|
maxCols: Infinity,
|
2855
|
-
|
2856
2867
|
/**
|
2857
2868
|
* The `maxRows` option sets a maximum number of rows.
|
2858
2869
|
*
|
@@ -2873,7 +2884,6 @@ export default (function () {
|
|
2873
2884
|
* ```
|
2874
2885
|
*/
|
2875
2886
|
maxRows: Infinity,
|
2876
|
-
|
2877
2887
|
/**
|
2878
2888
|
* @description
|
2879
2889
|
* The `mergeCells` option configures the [`MergeCells`](@/api/mergeCells.md) plugin.
|
@@ -2922,7 +2932,6 @@ export default (function () {
|
|
2922
2932
|
* ```
|
2923
2933
|
*/
|
2924
2934
|
mergeCells: false,
|
2925
|
-
|
2926
2935
|
/**
|
2927
2936
|
* The `minCols` option sets a minimum number of columns.
|
2928
2937
|
*
|
@@ -2950,7 +2959,6 @@ export default (function () {
|
|
2950
2959
|
* ```
|
2951
2960
|
*/
|
2952
2961
|
minCols: 0,
|
2953
|
-
|
2954
2962
|
/**
|
2955
2963
|
* The `minRows` option sets a minimum number of rows.
|
2956
2964
|
*
|
@@ -2971,7 +2979,6 @@ export default (function () {
|
|
2971
2979
|
* ```
|
2972
2980
|
*/
|
2973
2981
|
minRows: 0,
|
2974
|
-
|
2975
2982
|
/**
|
2976
2983
|
* The `minSpareCols` option sets a minimum number of empty columns
|
2977
2984
|
* at the grid's right-hand end.
|
@@ -3000,7 +3007,6 @@ export default (function () {
|
|
3000
3007
|
* ```
|
3001
3008
|
*/
|
3002
3009
|
minSpareCols: 0,
|
3003
|
-
|
3004
3010
|
/**
|
3005
3011
|
* The `minSpareRows` option sets a minimum number of empty rows
|
3006
3012
|
* at the bottom of the grid.
|
@@ -3022,7 +3028,6 @@ export default (function () {
|
|
3022
3028
|
* ```
|
3023
3029
|
*/
|
3024
3030
|
minSpareRows: 0,
|
3025
|
-
|
3026
3031
|
/**
|
3027
3032
|
* @description
|
3028
3033
|
* The `multiColumnSorting` option configures the [`MultiColumnSorting`](@/api/columnSorting.md) plugin.
|
@@ -3101,14 +3106,21 @@ export default (function () {
|
|
3101
3106
|
* ```
|
3102
3107
|
*/
|
3103
3108
|
multiColumnSorting: void 0,
|
3104
|
-
|
3105
3109
|
/**
|
3106
3110
|
* @description
|
3107
3111
|
* The `nestedHeaders` option configures the [`NestedHeaders`](@/api/nestedHeaders.md) plugin.
|
3108
3112
|
*
|
3109
|
-
* You can set the `nestedHeaders` option to
|
3110
|
-
*
|
3111
|
-
*
|
3113
|
+
* You can set the `nestedHeaders` option to one of the following:
|
3114
|
+
*
|
3115
|
+
* | Setting | Description |
|
3116
|
+
* | ----------------- | ------------------------------------------------------------------------------------------------------------------------------------- |
|
3117
|
+
* | `false` (default) | Disable the [`NestedHeaders`](@/api/nestedHeaders.md) plugin |
|
3118
|
+
* | `true` | - Enable the [`NestedHeaders`](@/api/nestedHeaders.md) plugin<br>- Don't configure any nested headers |
|
3119
|
+
* | Array of arrays | - Enable the [`NestedHeaders`](@/api/nestedHeaders.md) plugin<br>- Configure headers that are nested on Handsontable's initialization |
|
3120
|
+
*
|
3121
|
+
* If you set the `nestedHeaders` option to an array of arrays, each array configures one set of nested headers.
|
3122
|
+
*
|
3123
|
+
* Each array element configures one header, and can be one of the following:
|
3112
3124
|
*
|
3113
3125
|
* | Array element | Description |
|
3114
3126
|
* | ------------- | -------------------------------------------------------------------------------------------- |
|
@@ -3120,7 +3132,7 @@ export default (function () {
|
|
3120
3132
|
* - [Column groups: Nested headers](@/guides/columns/column-groups.md#nested-headers)
|
3121
3133
|
*
|
3122
3134
|
* @memberof Options#
|
3123
|
-
* @type {Array[]}
|
3135
|
+
* @type {boolean|Array[]}
|
3124
3136
|
* @default undefined
|
3125
3137
|
* @category NestedHeaders
|
3126
3138
|
*
|
@@ -3134,7 +3146,6 @@ export default (function () {
|
|
3134
3146
|
* ```
|
3135
3147
|
*/
|
3136
3148
|
nestedHeaders: void 0,
|
3137
|
-
|
3138
3149
|
/**
|
3139
3150
|
* @description
|
3140
3151
|
* The `nestedRows` option configures the [`NestedRows`](@/api/nestedRows.md) plugin.
|
@@ -3161,7 +3172,6 @@ export default (function () {
|
|
3161
3172
|
* @category NestedRows
|
3162
3173
|
*/
|
3163
3174
|
nestedRows: void 0,
|
3164
|
-
|
3165
3175
|
/**
|
3166
3176
|
* The `noWordWrapClassName` option lets you add a CSS class name
|
3167
3177
|
* to each cell that has the [`wordWrap`](#wordWrap) option set to `false`.
|
@@ -3191,7 +3201,6 @@ export default (function () {
|
|
3191
3201
|
* ```
|
3192
3202
|
*/
|
3193
3203
|
noWordWrapClassName: 'htNoWrap',
|
3194
|
-
|
3195
3204
|
/**
|
3196
3205
|
* The `numericFormat` option configures the number format and the currency format
|
3197
3206
|
* of [`numeric`](@/guides/cell-types/numeric-cell-type.md) cells` displayed output
|
@@ -3236,7 +3245,6 @@ export default (function () {
|
|
3236
3245
|
* ```
|
3237
3246
|
*/
|
3238
3247
|
numericFormat: void 0,
|
3239
|
-
|
3240
3248
|
/**
|
3241
3249
|
* If the `observeDOMVisibility` option is set to `true`,
|
3242
3250
|
* Handsontable rerenders every time it detects that the grid was made visible in the DOM.
|
@@ -3253,7 +3261,6 @@ export default (function () {
|
|
3253
3261
|
* ```
|
3254
3262
|
*/
|
3255
3263
|
observeDOMVisibility: true,
|
3256
|
-
|
3257
3264
|
/**
|
3258
3265
|
* The `outsideClickDeselects` option determines what happens to the current [selection](@/guides/cell-features/selection.md)
|
3259
3266
|
* when you click outside of the grid.
|
@@ -3291,7 +3298,6 @@ export default (function () {
|
|
3291
3298
|
* ```
|
3292
3299
|
*/
|
3293
3300
|
outsideClickDeselects: true,
|
3294
|
-
|
3295
3301
|
/**
|
3296
3302
|
* @description
|
3297
3303
|
* The `persistentState` option configures the [`PersistentState`](@/api/persistentState.md) plugin.
|
@@ -3304,7 +3310,7 @@ export default (function () {
|
|
3304
3310
|
* | `true` | Enable the [`PersistentState`](@/api/persistentState.md) plugin |
|
3305
3311
|
*
|
3306
3312
|
* Read more:
|
3307
|
-
* - [Saving data: Saving data locally](@/guides/getting-started/saving-data.md#
|
3313
|
+
* - [Saving data: Saving data locally](@/guides/getting-started/saving-data.md#save-data-locally)
|
3308
3314
|
* - [Plugins: `PersistentState`](@/api/persistentState.md)
|
3309
3315
|
*
|
3310
3316
|
* @memberof Options#
|
@@ -3319,7 +3325,6 @@ export default (function () {
|
|
3319
3325
|
* ```
|
3320
3326
|
*/
|
3321
3327
|
persistentState: void 0,
|
3322
|
-
|
3323
3328
|
/**
|
3324
3329
|
* The `placeholder` option lets you display placeholder text in every empty cell.
|
3325
3330
|
*
|
@@ -3357,7 +3362,6 @@ export default (function () {
|
|
3357
3362
|
* ```
|
3358
3363
|
*/
|
3359
3364
|
placeholder: void 0,
|
3360
|
-
|
3361
3365
|
/**
|
3362
3366
|
* The `placeholderCellClassName` option lets you add a CSS class name to cells
|
3363
3367
|
* that contain [`placeholder`](#placeholder) text.
|
@@ -3388,7 +3392,6 @@ export default (function () {
|
|
3388
3392
|
* ```
|
3389
3393
|
*/
|
3390
3394
|
placeholderCellClassName: 'htPlaceholder',
|
3391
|
-
|
3392
3395
|
/**
|
3393
3396
|
* The `preventOverflow` option configures preventing Handsontable
|
3394
3397
|
* from overflowing outside of its parent element.
|
@@ -3413,7 +3416,6 @@ export default (function () {
|
|
3413
3416
|
* ```
|
3414
3417
|
*/
|
3415
3418
|
preventOverflow: false,
|
3416
|
-
|
3417
3419
|
/**
|
3418
3420
|
* The `preventWheel` option configures preventing the `wheel` event's default action
|
3419
3421
|
* on overlays.
|
@@ -3438,7 +3440,6 @@ export default (function () {
|
|
3438
3440
|
* ```
|
3439
3441
|
*/
|
3440
3442
|
preventWheel: false,
|
3441
|
-
|
3442
3443
|
/**
|
3443
3444
|
* @description
|
3444
3445
|
* The `readOnly` option determines whether a cell, column or comment is editable or not.
|
@@ -3453,7 +3454,7 @@ export default (function () {
|
|
3453
3454
|
* `readOnly` cells can't be changed by the [`populateFromArray()`](@/api/core.md#populatefromarray) method.
|
3454
3455
|
*
|
3455
3456
|
* Read more:
|
3456
|
-
* - [Configuration options: Cascading configuration](@/guides/getting-started/
|
3457
|
+
* - [Configuration options: Cascading configuration](@/guides/getting-started/configuration-options.md#cascading-configuration)
|
3457
3458
|
*
|
3458
3459
|
* @memberof Options#
|
3459
3460
|
* @type {boolean}
|
@@ -3467,7 +3468,6 @@ export default (function () {
|
|
3467
3468
|
* ```
|
3468
3469
|
*/
|
3469
3470
|
readOnly: false,
|
3470
|
-
|
3471
3471
|
/**
|
3472
3472
|
* The `readOnlyCellClassName` option lets you add a CSS class name to [read-only](#readOnly) cells.
|
3473
3473
|
*
|
@@ -3496,7 +3496,6 @@ export default (function () {
|
|
3496
3496
|
* ```
|
3497
3497
|
*/
|
3498
3498
|
readOnlyCellClassName: 'htDimmed',
|
3499
|
-
|
3500
3499
|
/**
|
3501
3500
|
* The `renderAllRows` option configures Handsontable's [row virtualization](@/guides/rows/row-virtualization.md).
|
3502
3501
|
*
|
@@ -3522,7 +3521,6 @@ export default (function () {
|
|
3522
3521
|
* ```
|
3523
3522
|
*/
|
3524
3523
|
renderAllRows: void 0,
|
3525
|
-
|
3526
3524
|
/**
|
3527
3525
|
* @description
|
3528
3526
|
* The `renderer` option sets a [cell renderer](@/guides/cell-functions/cell-renderer.md) for a cell.
|
@@ -3551,7 +3549,7 @@ export default (function () {
|
|
3551
3549
|
* Read more:
|
3552
3550
|
* - [Cell renderer](@/guides/cell-functions/cell-renderer.md)
|
3553
3551
|
* - [Cell type](@/guides/cell-types/cell-type.md)
|
3554
|
-
* - [Configuration options: Cascading configuration](@/guides/getting-started/
|
3552
|
+
* - [Configuration options: Cascading configuration](@/guides/getting-started/configuration-options.md#cascading-configuration)
|
3555
3553
|
* - [`type`](#type)
|
3556
3554
|
*
|
3557
3555
|
* @memberof Options#
|
@@ -3584,7 +3582,6 @@ export default (function () {
|
|
3584
3582
|
* ```
|
3585
3583
|
*/
|
3586
3584
|
renderer: void 0,
|
3587
|
-
|
3588
3585
|
/**
|
3589
3586
|
* The `rowHeaders` option configures your grid's row headers.
|
3590
3587
|
*
|
@@ -3620,7 +3617,6 @@ export default (function () {
|
|
3620
3617
|
* ```
|
3621
3618
|
*/
|
3622
3619
|
rowHeaders: void 0,
|
3623
|
-
|
3624
3620
|
/**
|
3625
3621
|
* @description
|
3626
3622
|
* The `rowHeaderWidth` option configures the width of row headers.
|
@@ -3647,11 +3643,10 @@ export default (function () {
|
|
3647
3643
|
* ```
|
3648
3644
|
*/
|
3649
3645
|
rowHeaderWidth: void 0,
|
3650
|
-
|
3651
3646
|
/**
|
3652
3647
|
* The `rowHeights` option sets rows' heights, in pixels.
|
3653
3648
|
*
|
3654
|
-
* In the rendering process, the default row height is
|
3649
|
+
* In the rendering process, the default row height is 23 px (22 px + 1 px of the row's bottom border).
|
3655
3650
|
* You can change it to equal or greater than 23px, by setting the `rowHeights` option to one of the following:
|
3656
3651
|
*
|
3657
3652
|
* | Setting | Description | Example |
|
@@ -3694,7 +3689,6 @@ export default (function () {
|
|
3694
3689
|
* ```
|
3695
3690
|
*/
|
3696
3691
|
rowHeights: void 0,
|
3697
|
-
|
3698
3692
|
/**
|
3699
3693
|
* @description
|
3700
3694
|
* The `search` option configures the [`Search`](@/api/search.md) plugin.
|
@@ -3746,7 +3740,6 @@ export default (function () {
|
|
3746
3740
|
* ```
|
3747
3741
|
*/
|
3748
3742
|
search: false,
|
3749
|
-
|
3750
3743
|
/**
|
3751
3744
|
* @description
|
3752
3745
|
* The `selectionMode` option configures how [selection](@/guides/cell-features/selection.md) works.
|
@@ -3760,7 +3753,7 @@ export default (function () {
|
|
3760
3753
|
* | `'multiple'` | Allow the user to select multiple ranges of cells at a time. |
|
3761
3754
|
*
|
3762
3755
|
* Read more:
|
3763
|
-
* - [Selection: Selecting ranges](@/guides/cell-features/selection.md#
|
3756
|
+
* - [Selection: Selecting ranges](@/guides/cell-features/selection.md#select-ranges)
|
3764
3757
|
*
|
3765
3758
|
* @memberof Options#
|
3766
3759
|
* @type {string}
|
@@ -3780,7 +3773,6 @@ export default (function () {
|
|
3780
3773
|
* ```
|
3781
3774
|
*/
|
3782
3775
|
selectionMode: 'multiple',
|
3783
|
-
|
3784
3776
|
/**
|
3785
3777
|
* The `selectOptions` option configures options that the end user can choose from in [`select`](@/guides/cell-types/select-cell-type.md) cells.
|
3786
3778
|
*
|
@@ -3838,7 +3830,6 @@ export default (function () {
|
|
3838
3830
|
* ```
|
3839
3831
|
*/
|
3840
3832
|
selectOptions: void 0,
|
3841
|
-
|
3842
3833
|
/**
|
3843
3834
|
* @description
|
3844
3835
|
* The `skipColumnOnPaste` option determines whether you can paste data into a given column.
|
@@ -3853,7 +3844,7 @@ export default (function () {
|
|
3853
3844
|
* | `true` | - Disable pasting data into this column<br>- On pasting, paste data into the next column to the right |
|
3854
3845
|
*
|
3855
3846
|
* Read more:
|
3856
|
-
* - [Configuration options: Setting column options](@/guides/getting-started/
|
3847
|
+
* - [Configuration options: Setting column options](@/guides/getting-started/configuration-options.md#set-column-options)
|
3857
3848
|
*
|
3858
3849
|
* @memberof Options#
|
3859
3850
|
* @type {boolean}
|
@@ -3871,7 +3862,6 @@ export default (function () {
|
|
3871
3862
|
* ```
|
3872
3863
|
*/
|
3873
3864
|
skipColumnOnPaste: false,
|
3874
|
-
|
3875
3865
|
/**
|
3876
3866
|
* @description
|
3877
3867
|
*
|
@@ -3887,7 +3877,7 @@ export default (function () {
|
|
3887
3877
|
* | `true` | - Disable pasting data into this row<br>- On pasting, paste data into the row below |
|
3888
3878
|
*
|
3889
3879
|
* Read more:
|
3890
|
-
* - [Configuration options: Setting row options](@/guides/getting-started/
|
3880
|
+
* - [Configuration options: Setting row options](@/guides/getting-started/configuration-options.md#set-row-options)
|
3891
3881
|
*
|
3892
3882
|
* @memberof Options#
|
3893
3883
|
* @type {boolean}
|
@@ -3909,7 +3899,6 @@ export default (function () {
|
|
3909
3899
|
* ```
|
3910
3900
|
*/
|
3911
3901
|
skipRowOnPaste: false,
|
3912
|
-
|
3913
3902
|
/**
|
3914
3903
|
* The `sortByRelevance` option configures whether [`autocomplete`](@/guides/cell-types/autocomplete-cell-type.md) cells'
|
3915
3904
|
* lists are sorted in the same order as provided in the [`source`](#source) option.
|
@@ -3943,7 +3932,6 @@ export default (function () {
|
|
3943
3932
|
* ```
|
3944
3933
|
*/
|
3945
3934
|
sortByRelevance: true,
|
3946
|
-
|
3947
3935
|
/**
|
3948
3936
|
* The `source` option sets options available in [`autocomplete`](@/guides/cell-types/autocomplete-cell-type.md)
|
3949
3937
|
* and [`dropdown`](@/guides/cell-types/dropdown-cell-type.md) cells.
|
@@ -3990,7 +3978,6 @@ export default (function () {
|
|
3990
3978
|
* ```
|
3991
3979
|
*/
|
3992
3980
|
source: void 0,
|
3993
|
-
|
3994
3981
|
/**
|
3995
3982
|
* @description
|
3996
3983
|
* If the [`data`](#data) option is not set, the `startCols` option sets the initial number of empty columns.
|
@@ -4009,7 +3996,6 @@ export default (function () {
|
|
4009
3996
|
* ```
|
4010
3997
|
*/
|
4011
3998
|
startCols: 5,
|
4012
|
-
|
4013
3999
|
/**
|
4014
4000
|
* @description
|
4015
4001
|
* If the [`data`](#data) option is not set, the `startRows` option sets the initial number of empty rows.
|
@@ -4028,7 +4014,6 @@ export default (function () {
|
|
4028
4014
|
* ```
|
4029
4015
|
*/
|
4030
4016
|
startRows: 5,
|
4031
|
-
|
4032
4017
|
/**
|
4033
4018
|
* @description
|
4034
4019
|
* The `stretchH` option determines what happens when the declared grid width
|
@@ -4058,7 +4043,6 @@ export default (function () {
|
|
4058
4043
|
* ```
|
4059
4044
|
*/
|
4060
4045
|
stretchH: 'none',
|
4061
|
-
|
4062
4046
|
/**
|
4063
4047
|
* The `strict` option configures the behavior of [`autocomplete`](@/guides/cell-types/autocomplete-cell-type.md) cells.
|
4064
4048
|
*
|
@@ -4093,7 +4077,6 @@ export default (function () {
|
|
4093
4077
|
* ```
|
4094
4078
|
*/
|
4095
4079
|
strict: void 0,
|
4096
|
-
|
4097
4080
|
/**
|
4098
4081
|
* The `tableClassName` option lets you add CSS class names
|
4099
4082
|
* to every Handsontable instance inside the `container` element.
|
@@ -4134,7 +4117,6 @@ export default (function () {
|
|
4134
4117
|
* ```
|
4135
4118
|
*/
|
4136
4119
|
tableClassName: void 0,
|
4137
|
-
|
4138
4120
|
/**
|
4139
4121
|
* The `tabMoves` option configures the action of the <kbd>**Tab**</kbd> key.
|
4140
4122
|
*
|
@@ -4169,7 +4151,6 @@ export default (function () {
|
|
4169
4151
|
row: 0,
|
4170
4152
|
col: 1
|
4171
4153
|
},
|
4172
|
-
|
4173
4154
|
/**
|
4174
4155
|
* @description
|
4175
4156
|
* The `title` option configures [column header](@/guides/columns/column-header.md) names.
|
@@ -4202,7 +4183,6 @@ export default (function () {
|
|
4202
4183
|
* ```
|
4203
4184
|
*/
|
4204
4185
|
title: void 0,
|
4205
|
-
|
4206
4186
|
/**
|
4207
4187
|
* The `trimDropdown` option configures the width of the [`autocomplete`](@/guides/cell-types/autocomplete-cell-type.md)
|
4208
4188
|
* and [`dropdown`](@/guides/cell-types/dropdown-cell-type.md) lists.
|
@@ -4242,7 +4222,6 @@ export default (function () {
|
|
4242
4222
|
* ```
|
4243
4223
|
*/
|
4244
4224
|
trimDropdown: true,
|
4245
|
-
|
4246
4225
|
/**
|
4247
4226
|
* @description
|
4248
4227
|
* The `trimRows` option configures the [`TrimRows`](@/api/trimRows.md) plugin.
|
@@ -4275,7 +4254,6 @@ export default (function () {
|
|
4275
4254
|
* ```
|
4276
4255
|
*/
|
4277
4256
|
trimRows: void 0,
|
4278
|
-
|
4279
4257
|
/**
|
4280
4258
|
* The `trimWhitespace` option configures automatic whitespace removal. This option
|
4281
4259
|
* affects the cell renderer and the cell editor.
|
@@ -4304,7 +4282,6 @@ export default (function () {
|
|
4304
4282
|
* ```
|
4305
4283
|
*/
|
4306
4284
|
trimWhitespace: true,
|
4307
|
-
|
4308
4285
|
/**
|
4309
4286
|
* @description
|
4310
4287
|
* The `type` option lets you set the [`renderer`](#renderer), [`editor`](#editor), and [`validator`](#validator)
|
@@ -4330,7 +4307,7 @@ export default (function () {
|
|
4330
4307
|
* - [Cell renderer](@/guides/cell-functions/cell-renderer.md)
|
4331
4308
|
* - [Cell editor](@/guides/cell-functions/cell-editor.md)
|
4332
4309
|
* - [Cell validator](@/guides/cell-functions/cell-validator.md)
|
4333
|
-
* - [Configuration options: Cascading configuration](@/guides/getting-started/
|
4310
|
+
* - [Configuration options: Cascading configuration](@/guides/getting-started/configuration-options.md#cascading-configuration)
|
4334
4311
|
* - [`renderer`](#renderer)
|
4335
4312
|
* - [`editor`](#editor)
|
4336
4313
|
* - [`validator`](#validator)
|
@@ -4359,7 +4336,6 @@ export default (function () {
|
|
4359
4336
|
* ```
|
4360
4337
|
*/
|
4361
4338
|
type: 'text',
|
4362
|
-
|
4363
4339
|
/**
|
4364
4340
|
* The `uncheckedTemplate` option lets you configure what value
|
4365
4341
|
* an unchecked [`checkbox`](@/guides/cell-types/checkbox-cell-type.md) cell has.
|
@@ -4402,7 +4378,6 @@ export default (function () {
|
|
4402
4378
|
* ```
|
4403
4379
|
*/
|
4404
4380
|
uncheckedTemplate: void 0,
|
4405
|
-
|
4406
4381
|
/**
|
4407
4382
|
* The `undo` option configures the [`UndoRedo`](@/api/undoRedo.md) plugin.
|
4408
4383
|
*
|
@@ -4433,7 +4408,6 @@ export default (function () {
|
|
4433
4408
|
* ```
|
4434
4409
|
*/
|
4435
4410
|
undo: void 0,
|
4436
|
-
|
4437
4411
|
/**
|
4438
4412
|
* @description
|
4439
4413
|
* The `validator` option sets a [cell validator](@/guides/cell-functions/cell-validator.md) for a cell.
|
@@ -4464,7 +4438,7 @@ export default (function () {
|
|
4464
4438
|
* Read more:
|
4465
4439
|
* - [Cell validator](@/guides/cell-functions/cell-validator.md)
|
4466
4440
|
* - [Cell type](@/guides/cell-types/cell-type.md)
|
4467
|
-
* - [Configuration options: Cascading configuration](@/guides/getting-started/
|
4441
|
+
* - [Configuration options: Cascading configuration](@/guides/getting-started/configuration-options.md#cascading-configuration)
|
4468
4442
|
* - [`type`](#type)
|
4469
4443
|
*
|
4470
4444
|
* @memberof Options#
|
@@ -4493,7 +4467,6 @@ export default (function () {
|
|
4493
4467
|
* ```
|
4494
4468
|
*/
|
4495
4469
|
validator: void 0,
|
4496
|
-
|
4497
4470
|
/**
|
4498
4471
|
* @description
|
4499
4472
|
* The `viewportColumnRenderingOffset` option configures the number of columns
|
@@ -4521,7 +4494,6 @@ export default (function () {
|
|
4521
4494
|
* ```
|
4522
4495
|
*/
|
4523
4496
|
viewportColumnRenderingOffset: 'auto',
|
4524
|
-
|
4525
4497
|
/**
|
4526
4498
|
* @description
|
4527
4499
|
* The `viewportRowRenderingOffset` option configures the number of rows
|
@@ -4550,7 +4522,6 @@ export default (function () {
|
|
4550
4522
|
* ```
|
4551
4523
|
*/
|
4552
4524
|
viewportRowRenderingOffset: 'auto',
|
4553
|
-
|
4554
4525
|
/**
|
4555
4526
|
* The `visibleRows` option sets the height of the [`autocomplete`](@/guides/cell-types/autocomplete-cell-type.md)
|
4556
4527
|
* and [`dropdown`](@/guides/cell-types/dropdown-cell-type.md) lists.
|
@@ -4585,7 +4556,6 @@ export default (function () {
|
|
4585
4556
|
* ```
|
4586
4557
|
*/
|
4587
4558
|
visibleRows: 10,
|
4588
|
-
|
4589
4559
|
/**
|
4590
4560
|
* The `width` option configures the width of your grid.
|
4591
4561
|
*
|
@@ -4620,7 +4590,6 @@ export default (function () {
|
|
4620
4590
|
* ```
|
4621
4591
|
*/
|
4622
4592
|
width: void 0,
|
4623
|
-
|
4624
4593
|
/**
|
4625
4594
|
* The `wordWrap` option configures whether content that exceeds a column's width is wrapped or not.
|
4626
4595
|
*
|
@@ -4659,7 +4628,7 @@ export default (function () {
|
|
4659
4628
|
* ```
|
4660
4629
|
*/
|
4661
4630
|
wordWrap: true
|
4662
|
-
/* eslint-enable jsdoc/require-description-complete-sentence */
|
4663
4631
|
|
4632
|
+
/* eslint-enable jsdoc/require-description-complete-sentence */
|
4664
4633
|
};
|
4665
4634
|
});
|