handsontable 18.0.0 → 18.1.0-rc1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/3rdparty/walkontable/src/axisSizing/axisSizeSource.d.mts +1 -0
- package/3rdparty/walkontable/src/axisSizing/axisSizeSource.d.ts +55 -0
- package/3rdparty/walkontable/src/axisSizing/axisSizeSource.js +15 -0
- package/3rdparty/walkontable/src/axisSizing/axisSizeSource.mjs +14 -0
- package/3rdparty/walkontable/src/axisSizing/boxModel.d.mts +1 -0
- package/3rdparty/walkontable/src/axisSizing/boxModel.d.ts +32 -0
- package/3rdparty/walkontable/src/axisSizing/boxModel.js +45 -0
- package/3rdparty/walkontable/src/axisSizing/boxModel.mjs +33 -0
- package/3rdparty/walkontable/src/axisSizing/columnUtils.d.mts +2 -0
- package/3rdparty/walkontable/src/{utils/column.d.ts → axisSizing/columnUtils.d.ts} +12 -10
- package/3rdparty/walkontable/src/axisSizing/columnUtils.js +142 -0
- package/3rdparty/walkontable/src/axisSizing/columnUtils.mjs +137 -0
- package/3rdparty/walkontable/src/axisSizing/defaultSizeSource.d.mts +1 -0
- package/3rdparty/walkontable/src/axisSizing/defaultSizeSource.d.ts +58 -0
- package/3rdparty/walkontable/src/axisSizing/defaultSizeSource.js +124 -0
- package/3rdparty/walkontable/src/axisSizing/defaultSizeSource.mjs +114 -0
- package/3rdparty/walkontable/src/axisSizing/oversizedRows.d.mts +1 -0
- package/3rdparty/walkontable/src/axisSizing/oversizedRows.d.ts +162 -0
- package/3rdparty/walkontable/src/axisSizing/oversizedRows.js +424 -0
- package/3rdparty/walkontable/src/axisSizing/oversizedRows.mjs +522 -0
- package/3rdparty/walkontable/src/axisSizing/positionCache/index.d.ts +130 -0
- package/3rdparty/walkontable/src/axisSizing/positionCache/index.js +251 -0
- package/3rdparty/walkontable/src/axisSizing/positionCache/index.mjs +257 -0
- package/3rdparty/walkontable/src/axisSizing/positionCache/prefixSumStrategy.d.mts +1 -0
- package/3rdparty/walkontable/src/axisSizing/positionCache/prefixSumStrategy.d.ts +51 -0
- package/3rdparty/walkontable/src/axisSizing/positionCache/prefixSumStrategy.js +116 -0
- package/3rdparty/walkontable/src/axisSizing/positionCache/prefixSumStrategy.mjs +112 -0
- package/3rdparty/walkontable/src/axisSizing/positionCache/sparseStrategy.d.mts +1 -0
- package/3rdparty/walkontable/src/axisSizing/positionCache/sparseStrategy.d.ts +53 -0
- package/3rdparty/walkontable/src/axisSizing/positionCache/sparseStrategy.js +199 -0
- package/3rdparty/walkontable/src/axisSizing/positionCache/sparseStrategy.mjs +196 -0
- package/3rdparty/walkontable/src/axisSizing/positionCache/strategy.d.mts +1 -0
- package/3rdparty/walkontable/src/axisSizing/positionCache/strategy.d.ts +53 -0
- package/3rdparty/walkontable/src/axisSizing/positionCache/strategy.js +40 -0
- package/3rdparty/walkontable/src/axisSizing/positionCache/strategy.mjs +41 -0
- package/3rdparty/walkontable/src/axisSizing/positionCache/uniformStrategy.d.mts +1 -0
- package/3rdparty/walkontable/src/axisSizing/positionCache/uniformStrategy.d.ts +47 -0
- package/3rdparty/walkontable/src/axisSizing/positionCache/uniformStrategy.js +116 -0
- package/3rdparty/walkontable/src/axisSizing/positionCache/uniformStrategy.mjs +110 -0
- package/3rdparty/walkontable/src/axisSizing/rowUtils.d.mts +2 -0
- package/3rdparty/walkontable/src/{utils/row.d.ts → axisSizing/rowUtils.d.ts} +11 -9
- package/3rdparty/walkontable/src/axisSizing/rowUtils.js +106 -0
- package/3rdparty/walkontable/src/axisSizing/rowUtils.mjs +101 -0
- package/3rdparty/walkontable/src/axisSizing/sizeGetters.d.mts +2 -0
- package/3rdparty/walkontable/src/axisSizing/sizeGetters.d.ts +84 -0
- package/3rdparty/walkontable/src/axisSizing/sizeGetters.js +102 -0
- package/3rdparty/walkontable/src/axisSizing/sizeGetters.mjs +92 -0
- package/3rdparty/walkontable/src/calculator/axisCalculation.d.ts +1 -1
- package/3rdparty/walkontable/src/calculator/calculationType/renderedColumns.d.ts +10 -0
- package/3rdparty/walkontable/src/calculator/calculationType/renderedColumns.js +10 -1
- package/3rdparty/walkontable/src/calculator/calculationType/renderedColumns.mjs +10 -1
- package/3rdparty/walkontable/src/calculator/calculationType/renderedRows.d.ts +9 -0
- package/3rdparty/walkontable/src/calculator/calculationType/renderedRows.js +9 -1
- package/3rdparty/walkontable/src/calculator/calculationType/renderedRows.mjs +9 -1
- package/3rdparty/walkontable/src/calculator/viewportColumns.d.ts +1 -1
- package/3rdparty/walkontable/src/calculator/viewportRows.d.ts +1 -1
- package/3rdparty/walkontable/src/cell/coords.js +4 -9
- package/3rdparty/walkontable/src/cell/coords.mjs +4 -9
- package/3rdparty/walkontable/src/cell/range.d.ts +10 -0
- package/3rdparty/walkontable/src/cell/range.js +19 -15
- package/3rdparty/walkontable/src/cell/range.mjs +16 -12
- package/3rdparty/walkontable/src/core/_base.d.ts +21 -21
- package/3rdparty/walkontable/src/core/_base.js +47 -147
- package/3rdparty/walkontable/src/core/_base.mjs +17 -147
- package/3rdparty/walkontable/src/core/clone.d.ts +4 -14
- package/3rdparty/walkontable/src/core/clone.js +40 -5
- package/3rdparty/walkontable/src/core/clone.mjs +10 -5
- package/3rdparty/walkontable/src/core/core.d.ts +1 -5
- package/3rdparty/walkontable/src/core/core.js +41 -47
- package/3rdparty/walkontable/src/core/core.mjs +12 -48
- package/3rdparty/walkontable/src/domMeasure/geometryReader.d.mts +1 -0
- package/3rdparty/walkontable/src/domMeasure/geometryReader.d.ts +172 -0
- package/3rdparty/walkontable/src/domMeasure/geometryReader.js +19 -0
- package/3rdparty/walkontable/src/domMeasure/geometryReader.mjs +16 -0
- package/3rdparty/walkontable/src/domMeasure/liveGeometryReader.d.mts +1 -0
- package/3rdparty/walkontable/src/domMeasure/liveGeometryReader.d.ts +134 -0
- package/3rdparty/walkontable/src/domMeasure/liveGeometryReader.js +195 -0
- package/3rdparty/walkontable/src/domMeasure/liveGeometryReader.mjs +193 -0
- package/3rdparty/walkontable/src/event.d.ts +25 -12
- package/3rdparty/walkontable/src/event.js +96 -236
- package/3rdparty/walkontable/src/event.mjs +95 -236
- package/3rdparty/walkontable/src/facade/core.d.ts +6 -6
- package/3rdparty/walkontable/src/index.d.ts +1 -1
- package/3rdparty/walkontable/src/index.js +10 -21
- package/3rdparty/walkontable/src/index.mjs +1 -1
- package/3rdparty/walkontable/src/overlay/index.d.ts +6 -6
- package/3rdparty/walkontable/src/overlay/index.js +11 -11
- package/3rdparty/walkontable/src/overlay/index.mjs +6 -6
- package/3rdparty/walkontable/src/overlay/overlays.d.ts +375 -0
- package/3rdparty/walkontable/src/overlay/overlays.js +605 -0
- package/3rdparty/walkontable/src/overlay/overlays.mjs +594 -0
- package/3rdparty/walkontable/src/overlay/{_base.d.ts → regions/_base.d.ts} +65 -16
- package/3rdparty/walkontable/src/overlay/{_base.js → regions/_base.js} +155 -50
- package/3rdparty/walkontable/src/overlay/{_base.mjs → regions/_base.mjs} +158 -47
- package/3rdparty/walkontable/src/overlay/regions/bottomInlineStartCornerOverlay.d.mts +1 -0
- package/3rdparty/walkontable/src/overlay/{bottomInlineStartCorner.d.ts → regions/bottomInlineStartCornerOverlay.d.ts} +5 -10
- package/3rdparty/walkontable/src/overlay/{bottomInlineStartCorner.js → regions/bottomInlineStartCornerOverlay.js} +18 -20
- package/3rdparty/walkontable/src/overlay/{bottomInlineStartCorner.mjs → regions/bottomInlineStartCornerOverlay.mjs} +18 -20
- package/3rdparty/walkontable/src/overlay/regions/bottomOverlay.d.mts +1 -0
- package/3rdparty/walkontable/src/overlay/{bottom.d.ts → regions/bottomOverlay.d.ts} +16 -11
- package/3rdparty/walkontable/src/overlay/{bottom.js → regions/bottomOverlay.js} +111 -66
- package/3rdparty/walkontable/src/overlay/{bottom.mjs → regions/bottomOverlay.mjs} +111 -66
- package/3rdparty/walkontable/src/overlay/regions/inlineStartOverlay.d.mts +1 -0
- package/3rdparty/walkontable/src/overlay/{inlineStart.d.ts → regions/inlineStartOverlay.d.ts} +17 -11
- package/3rdparty/walkontable/src/overlay/{inlineStart.js → regions/inlineStartOverlay.js} +120 -67
- package/3rdparty/walkontable/src/overlay/{inlineStart.mjs → regions/inlineStartOverlay.mjs} +120 -67
- package/3rdparty/walkontable/src/overlay/regions/topInlineStartCornerOverlay.d.mts +1 -0
- package/3rdparty/walkontable/src/overlay/{topInlineStartCorner.d.ts → regions/topInlineStartCornerOverlay.d.ts} +5 -10
- package/3rdparty/walkontable/src/overlay/{topInlineStartCorner.js → regions/topInlineStartCornerOverlay.js} +13 -16
- package/3rdparty/walkontable/src/overlay/{topInlineStartCorner.mjs → regions/topInlineStartCornerOverlay.mjs} +13 -16
- package/3rdparty/walkontable/src/overlay/regions/topOverlay.d.mts +1 -0
- package/3rdparty/walkontable/src/overlay/{top.d.ts → regions/topOverlay.d.ts} +32 -11
- package/3rdparty/walkontable/src/overlay/{top.js → regions/topOverlay.js} +161 -77
- package/3rdparty/walkontable/src/overlay/{top.mjs → regions/topOverlay.mjs} +161 -77
- package/3rdparty/walkontable/src/overlay/resizeMonitor.d.mts +1 -0
- package/3rdparty/walkontable/src/overlay/resizeMonitor.d.ts +49 -0
- package/3rdparty/walkontable/src/overlay/resizeMonitor.js +149 -0
- package/3rdparty/walkontable/src/overlay/resizeMonitor.mjs +148 -0
- package/3rdparty/walkontable/src/overlay/scroll/nativeScrollInput.d.mts +1 -0
- package/3rdparty/walkontable/src/overlay/scroll/nativeScrollInput.d.ts +62 -0
- package/3rdparty/walkontable/src/overlay/scroll/nativeScrollInput.js +283 -0
- package/3rdparty/walkontable/src/overlay/scroll/nativeScrollInput.mjs +288 -0
- package/3rdparty/walkontable/src/overlay/scroll/scrollSync.d.mts +1 -0
- package/3rdparty/walkontable/src/overlay/scroll/scrollSync.d.ts +176 -0
- package/3rdparty/walkontable/src/overlay/scroll/scrollSync.js +542 -0
- package/3rdparty/walkontable/src/overlay/scroll/scrollSync.mjs +550 -0
- package/3rdparty/walkontable/src/overlay/spreaderSize.d.mts +1 -0
- package/3rdparty/walkontable/src/overlay/spreaderSize.d.ts +67 -0
- package/3rdparty/walkontable/src/overlay/spreaderSize.js +173 -0
- package/3rdparty/walkontable/src/overlay/spreaderSize.mjs +174 -0
- package/3rdparty/walkontable/src/{stickyScrollStrategy.d.ts → overlay/strategies/stickyScrollStrategy.d.ts} +33 -21
- package/3rdparty/walkontable/src/{stickyScrollStrategy.js → overlay/strategies/stickyScrollStrategy.js} +65 -53
- package/3rdparty/walkontable/src/{stickyScrollStrategy.mjs → overlay/strategies/stickyScrollStrategy.mjs} +63 -50
- package/3rdparty/walkontable/src/ports.d.mts +1 -0
- package/3rdparty/walkontable/src/ports.d.ts +54 -0
- package/3rdparty/walkontable/src/ports.js +23 -0
- package/3rdparty/walkontable/src/ports.mjs +24 -0
- package/3rdparty/walkontable/src/{renderer → render}/_base.d.ts +1 -1
- package/3rdparty/walkontable/src/{renderer → render}/cells.js +1 -1
- package/3rdparty/walkontable/src/{renderer → render}/cells.mjs +1 -1
- package/3rdparty/walkontable/src/{renderer → render}/columnHeaders.d.ts +1 -0
- package/3rdparty/walkontable/src/{renderer → render}/columnHeaders.js +41 -1
- package/3rdparty/walkontable/src/{renderer → render}/columnHeaders.mjs +42 -2
- package/3rdparty/walkontable/src/render/index.d.mts +1 -0
- package/3rdparty/walkontable/src/{renderer → render}/index.d.ts +11 -3
- package/3rdparty/walkontable/src/{renderer → render}/index.js +13 -3
- package/3rdparty/walkontable/src/{renderer → render}/index.mjs +11 -1
- package/3rdparty/walkontable/src/{renderer → render}/rows.js +1 -1
- package/3rdparty/walkontable/src/{renderer → render}/rows.mjs +1 -1
- package/3rdparty/walkontable/src/render/tableRenderer.d.mts +1 -0
- package/3rdparty/walkontable/src/{renderer/table.d.ts → render/tableRenderer.d.ts} +12 -2
- package/3rdparty/walkontable/src/render/tableRenderer.js +375 -0
- package/3rdparty/walkontable/src/{renderer/table.mjs → render/tableRenderer.mjs} +152 -6
- package/3rdparty/walkontable/src/{scroll.d.ts → scroll/scroll.d.ts} +27 -10
- package/3rdparty/walkontable/src/{scroll.js → scroll/scroll.js} +104 -35
- package/3rdparty/walkontable/src/{scroll.mjs → scroll/scroll.mjs} +102 -32
- package/3rdparty/walkontable/src/selection/border/border.d.ts +313 -5
- package/3rdparty/walkontable/src/selection/border/border.js +861 -51
- package/3rdparty/walkontable/src/selection/border/border.mjs +863 -53
- package/3rdparty/walkontable/src/selection/border/types.d.ts +30 -0
- package/3rdparty/walkontable/src/selection/manager.js +242 -12
- package/3rdparty/walkontable/src/selection/manager.mjs +243 -13
- package/3rdparty/walkontable/src/selection/scanner.js +5 -12
- package/3rdparty/walkontable/src/selection/scanner.mjs +5 -12
- package/3rdparty/walkontable/src/settings/accessor.d.mts +2 -0
- package/3rdparty/walkontable/src/settings/accessor.d.ts +74 -0
- package/3rdparty/walkontable/src/settings/accessor.js +78 -0
- package/3rdparty/walkontable/src/settings/accessor.mjs +71 -0
- package/3rdparty/walkontable/src/settings/defaults.d.mts +1 -0
- package/3rdparty/walkontable/src/{settings.d.ts → settings/defaults.d.ts} +16 -77
- package/3rdparty/walkontable/src/settings/defaults.js +146 -0
- package/3rdparty/walkontable/src/settings/defaults.mjs +225 -0
- package/3rdparty/walkontable/src/settings/index.d.mts +1 -0
- package/3rdparty/walkontable/src/settings/index.d.ts +6 -0
- package/3rdparty/walkontable/src/settings/index.js +20 -0
- package/3rdparty/walkontable/src/settings/index.mjs +5 -0
- package/3rdparty/walkontable/src/table/baseTable.d.mts +2 -0
- package/3rdparty/walkontable/src/table/baseTable.d.ts +284 -0
- package/3rdparty/walkontable/src/table/baseTable.js +290 -0
- package/3rdparty/walkontable/src/table/baseTable.mjs +278 -0
- package/3rdparty/walkontable/src/table/cellAccess.d.mts +1 -0
- package/3rdparty/walkontable/src/table/cellAccess.d.ts +101 -0
- package/3rdparty/walkontable/src/table/cellAccess.js +238 -0
- package/3rdparty/walkontable/src/table/cellAccess.mjs +229 -0
- package/3rdparty/walkontable/src/table/domScaffold.d.mts +1 -0
- package/3rdparty/walkontable/src/table/domScaffold.d.ts +37 -0
- package/3rdparty/walkontable/src/table/domScaffold.js +145 -0
- package/3rdparty/walkontable/src/table/domScaffold.mjs +136 -0
- package/3rdparty/walkontable/src/table/drawCycle.d.mts +1 -0
- package/3rdparty/walkontable/src/table/drawCycle.d.ts +16 -0
- package/3rdparty/walkontable/src/table/drawCycle.js +405 -0
- package/3rdparty/walkontable/src/table/drawCycle.mjs +403 -0
- package/3rdparty/walkontable/src/table/rangeQuery/renderedRange.d.mts +1 -0
- package/3rdparty/walkontable/src/table/rangeQuery/renderedRange.d.ts +38 -0
- package/3rdparty/walkontable/src/table/rangeQuery/renderedRange.js +15 -0
- package/3rdparty/walkontable/src/table/rangeQuery/renderedRange.mjs +14 -0
- package/3rdparty/walkontable/src/table/{mixin → rangeQuery}/stickyColumnsStart.d.ts +1 -1
- package/3rdparty/walkontable/src/table/{mixin → rangeQuery}/stickyColumnsStart.js +1 -1
- package/3rdparty/walkontable/src/table/{mixin → rangeQuery}/stickyColumnsStart.mjs +1 -1
- package/3rdparty/walkontable/src/table/{mixin → rangeQuery}/stickyRowsBottom.d.ts +1 -1
- package/3rdparty/walkontable/src/table/{mixin → rangeQuery}/stickyRowsTop.d.ts +1 -1
- package/3rdparty/walkontable/src/table/{mixin → rangeQuery}/stickyRowsTop.js +1 -1
- package/3rdparty/walkontable/src/table/{mixin → rangeQuery}/stickyRowsTop.mjs +1 -1
- package/3rdparty/walkontable/src/table/rangeQuery/viewportPredicates.d.mts +2 -0
- package/3rdparty/walkontable/src/table/rangeQuery/viewportPredicates.d.ts +226 -0
- package/3rdparty/walkontable/src/table/rangeQuery/viewportPredicates.js +251 -0
- package/3rdparty/walkontable/src/table/rangeQuery/viewportPredicates.mjs +241 -0
- package/3rdparty/walkontable/src/table/rangeQuery/virtualRange.d.mts +1 -0
- package/3rdparty/walkontable/src/table/rangeQuery/virtualRange.d.ts +14 -0
- package/3rdparty/walkontable/src/table/rangeQuery/virtualRange.js +196 -0
- package/3rdparty/walkontable/src/table/rangeQuery/virtualRange.mjs +179 -0
- package/3rdparty/walkontable/src/table/regions/bottomInlineStartCornerTable.d.mts +2 -0
- package/3rdparty/walkontable/src/table/regions/bottomInlineStartCornerTable.d.ts +16 -0
- package/3rdparty/walkontable/src/table/{bottomInlineStartCorner.js → regions/bottomInlineStartCornerTable.js} +9 -12
- package/3rdparty/walkontable/src/table/regions/bottomInlineStartCornerTable.mjs +21 -0
- package/3rdparty/walkontable/src/table/regions/bottomTable.d.mts +2 -0
- package/3rdparty/walkontable/src/table/regions/bottomTable.d.ts +15 -0
- package/3rdparty/walkontable/src/table/regions/bottomTable.js +35 -0
- package/3rdparty/walkontable/src/table/regions/bottomTable.mjs +20 -0
- package/3rdparty/walkontable/src/table/regions/inlineStartTable.d.mts +2 -0
- package/3rdparty/walkontable/src/table/regions/inlineStartTable.d.ts +12 -0
- package/3rdparty/walkontable/src/table/regions/inlineStartTable.js +32 -0
- package/3rdparty/walkontable/src/table/regions/inlineStartTable.mjs +17 -0
- package/3rdparty/walkontable/src/table/regions/masterTable.d.mts +2 -0
- package/3rdparty/walkontable/src/table/{master.d.ts → regions/masterTable.d.ts} +4 -13
- package/3rdparty/walkontable/src/table/{master.js → regions/masterTable.js} +27 -57
- package/3rdparty/walkontable/src/table/{master.mjs → regions/masterTable.mjs} +26 -56
- package/3rdparty/walkontable/src/table/regions/topInlineStartCornerTable.d.mts +2 -0
- package/3rdparty/walkontable/src/table/regions/topInlineStartCornerTable.d.ts +16 -0
- package/3rdparty/walkontable/src/table/{topInlineStartCorner.js → regions/topInlineStartCornerTable.js} +9 -12
- package/3rdparty/walkontable/src/table/regions/topInlineStartCornerTable.mjs +21 -0
- package/3rdparty/walkontable/src/table/regions/topTable.d.mts +2 -0
- package/3rdparty/walkontable/src/table/regions/topTable.d.ts +15 -0
- package/3rdparty/walkontable/src/table/regions/topTable.js +35 -0
- package/3rdparty/walkontable/src/table/regions/topTable.mjs +20 -0
- package/3rdparty/walkontable/src/types.d.ts +7 -69
- package/3rdparty/walkontable/src/types.mjs +2 -1
- package/3rdparty/walkontable/src/utils/pointerToCoords.d.mts +1 -0
- package/3rdparty/walkontable/src/utils/{cellCoords.d.ts → pointerToCoords.d.ts} +24 -0
- package/3rdparty/walkontable/src/utils/pointerToCoords.js +181 -0
- package/3rdparty/walkontable/src/utils/pointerToCoords.mjs +186 -0
- package/3rdparty/walkontable/src/viewport/boxLayout/gatherLayoutInput.d.mts +1 -0
- package/3rdparty/walkontable/src/viewport/boxLayout/gatherLayoutInput.d.ts +40 -0
- package/3rdparty/walkontable/src/viewport/boxLayout/gatherLayoutInput.js +139 -0
- package/3rdparty/walkontable/src/viewport/boxLayout/gatherLayoutInput.mjs +131 -0
- package/3rdparty/walkontable/src/viewport/boxLayout/layoutSnapshot.d.mts +1 -0
- package/3rdparty/walkontable/src/viewport/boxLayout/layoutSnapshot.d.ts +133 -0
- package/3rdparty/walkontable/src/viewport/boxLayout/layoutSnapshot.js +18 -0
- package/3rdparty/walkontable/src/viewport/boxLayout/layoutSnapshot.mjs +18 -0
- package/3rdparty/walkontable/src/viewport/boxLayout/resolveLayout.d.mts +1 -0
- package/3rdparty/walkontable/src/viewport/boxLayout/resolveLayout.d.ts +17 -0
- package/3rdparty/walkontable/src/viewport/boxLayout/resolveLayout.js +104 -0
- package/3rdparty/walkontable/src/viewport/boxLayout/resolveLayout.mjs +99 -0
- package/3rdparty/walkontable/src/viewport/calculatorFactory.d.mts +1 -0
- package/3rdparty/walkontable/src/viewport/calculatorFactory.d.ts +84 -0
- package/3rdparty/walkontable/src/viewport/calculatorFactory.js +588 -0
- package/3rdparty/walkontable/src/viewport/calculatorFactory.mjs +601 -0
- package/3rdparty/walkontable/src/viewport/viewport.d.ts +267 -0
- package/3rdparty/walkontable/src/viewport/viewport.js +363 -0
- package/3rdparty/walkontable/src/viewport/viewport.mjs +355 -0
- package/3rdparty/walkontable/src/viewport/workspaceSize.d.mts +1 -0
- package/3rdparty/walkontable/src/viewport/workspaceSize.d.ts +59 -0
- package/3rdparty/walkontable/src/viewport/workspaceSize.js +284 -0
- package/3rdparty/walkontable/src/viewport/workspaceSize.mjs +282 -0
- package/3rdparty/walkontable/src/wire.d.mts +1 -0
- package/3rdparty/walkontable/src/wire.d.ts +81 -0
- package/3rdparty/walkontable/src/wire.js +56 -0
- package/3rdparty/walkontable/src/wire.mjs +56 -0
- package/LICENSE.txt +1 -1
- package/README.md +2 -2
- package/base.d.ts +10 -2
- package/base.js +2 -2
- package/base.mjs +2 -2
- package/cellTypes/checkboxType/accessors/valueSetter.d.ts +1 -1
- package/cellTypes/checkboxType/accessors/valueSetter.js +3 -1
- package/cellTypes/checkboxType/accessors/valueSetter.mjs +3 -1
- package/cellTypes/index.d.ts +3 -2
- package/cellTypes/index.js +9 -0
- package/cellTypes/index.mjs +5 -2
- package/cellTypes/intlDatetimeType/index.d.mts +1 -0
- package/cellTypes/intlDatetimeType/index.d.ts +1 -0
- package/cellTypes/intlDatetimeType/index.js +19 -0
- package/cellTypes/intlDatetimeType/index.mjs +1 -0
- package/cellTypes/intlDatetimeType/intlDatetimeType.d.mts +1 -0
- package/cellTypes/intlDatetimeType/intlDatetimeType.d.ts +16 -0
- package/cellTypes/intlDatetimeType/intlDatetimeType.js +31 -0
- package/cellTypes/intlDatetimeType/intlDatetimeType.mjs +15 -0
- package/cellTypes/multiSelectType/index.d.ts +1 -1
- package/cellTypes/multiSelectType/index.js +3 -0
- package/cellTypes/multiSelectType/index.mjs +1 -1
- package/cellTypes/multiSelectType/multiSelectType.d.ts +1 -0
- package/cellTypes/multiSelectType/multiSelectType.js +4 -0
- package/cellTypes/multiSelectType/multiSelectType.mjs +1 -0
- package/cellTypes/numericType/accessors/valueSetter.js +30 -2
- package/cellTypes/numericType/accessors/valueSetter.mjs +31 -3
- package/core/coordsMapper/rangeToRenderableMapper.js +5 -12
- package/core/coordsMapper/rangeToRenderableMapper.mjs +5 -12
- package/core/hooks/bucket.d.ts +40 -6
- package/core/hooks/bucket.js +113 -84
- package/core/hooks/bucket.mjs +118 -84
- package/core/hooks/constants.js +254 -16
- package/core/hooks/constants.mjs +254 -16
- package/core/hooks/index.js +28 -25
- package/core/hooks/index.mjs +28 -25
- package/core/layout/constants.d.ts +11 -0
- package/core/layout/constants.js +6 -0
- package/core/layout/constants.mjs +12 -0
- package/core/layout/domSlot.d.ts +3 -1
- package/core/layout/domSlot.js +21 -14
- package/core/layout/domSlot.mjs +21 -14
- package/core/layout/index.d.ts +2 -2
- package/core/layout/index.js +6 -0
- package/core/layout/index.mjs +2 -2
- package/core/layout/layoutManager.d.ts +13 -0
- package/core/layout/layoutManager.js +25 -13
- package/core/layout/layoutManager.mjs +26 -11
- package/core/settings.d.ts +59 -6
- package/core/types.d.ts +15 -1
- package/core/types.mjs +9 -0
- package/core.js +481 -85
- package/core.mjs +483 -87
- package/dataMap/dataMap.d.ts +3 -13
- package/dataMap/dataMap.js +101 -44
- package/dataMap/dataMap.mjs +102 -45
- package/dataMap/dataSource.js +4 -1
- package/dataMap/dataSource.mjs +4 -1
- package/dataMap/metaManager/index.d.ts +62 -8
- package/dataMap/metaManager/index.js +66 -0
- package/dataMap/metaManager/index.mjs +66 -0
- package/dataMap/metaManager/lazyFactoryMap.d.ts +68 -43
- package/dataMap/metaManager/lazyFactoryMap.js +490 -110
- package/dataMap/metaManager/lazyFactoryMap.mjs +504 -111
- package/dataMap/metaManager/metaLayers/cellMeta.d.ts +55 -8
- package/dataMap/metaManager/metaLayers/cellMeta.js +112 -17
- package/dataMap/metaManager/metaLayers/cellMeta.mjs +112 -17
- package/dataMap/metaManager/metaLayers/columnMeta.d.ts +2 -1
- package/dataMap/metaManager/metaLayers/columnMeta.js +1 -0
- package/dataMap/metaManager/metaLayers/columnMeta.mjs +1 -0
- package/dataMap/metaManager/metaSchema.js +712 -31
- package/dataMap/metaManager/metaSchema.mjs +712 -31
- package/dataMap/metaManager/mods/dynamicCellMeta.d.ts +24 -10
- package/dataMap/metaManager/mods/dynamicCellMeta.js +245 -28
- package/dataMap/metaManager/mods/dynamicCellMeta.mjs +246 -29
- package/dataMap/metaManager/mods/extendMetaProperties.js +4 -9
- package/dataMap/metaManager/mods/extendMetaProperties.mjs +4 -9
- package/dataMap/sourceDataValidator.d.ts +13 -21
- package/dataMap/sourceDataValidator.js +39 -29
- package/dataMap/sourceDataValidator.mjs +50 -33
- package/dist/handsontable.full.js +34553 -9903
- package/dist/handsontable.full.min.js +168 -112
- package/dist/handsontable.js +31541 -13409
- package/dist/handsontable.min.js +172 -116
- package/dist/languages/all.js +2 -1
- package/dist/languages/all.min.js +1 -1
- package/dist/languages/fa-IR.js +2 -1
- package/dist/languages/fa-IR.min.js +1 -1
- package/dist/themes/classic.js +9 -3
- package/dist/themes/classic.min.js +4 -4
- package/dist/themes/horizon.js +9 -3
- package/dist/themes/horizon.min.js +4 -4
- package/dist/themes/main.js +9 -3
- package/dist/themes/main.min.js +4 -4
- package/dist/themes/static/variables/colors/ant.js +3 -3
- package/dist/themes/static/variables/colors/ant.min.js +3 -3
- package/dist/themes/static/variables/colors/classic.js +3 -3
- package/dist/themes/static/variables/colors/classic.min.js +3 -3
- package/dist/themes/static/variables/colors/horizon.js +3 -3
- package/dist/themes/static/variables/colors/horizon.min.js +3 -3
- package/dist/themes/static/variables/colors/main.js +3 -3
- package/dist/themes/static/variables/colors/main.min.js +3 -3
- package/dist/themes/static/variables/colors/material.js +3 -3
- package/dist/themes/static/variables/colors/material.min.js +3 -3
- package/dist/themes/static/variables/colors/shadcn.js +3 -3
- package/dist/themes/static/variables/colors/shadcn.min.js +3 -3
- package/dist/themes/static/variables/density.js +3 -3
- package/dist/themes/static/variables/density.min.js +3 -3
- package/dist/themes/static/variables/helpers/iconsMap.js +4 -9
- package/dist/themes/static/variables/helpers/iconsMap.min.js +4 -9
- package/dist/themes/static/variables/icons/horizon.js +3 -3
- package/dist/themes/static/variables/icons/horizon.min.js +3 -3
- package/dist/themes/static/variables/icons/main.js +3 -3
- package/dist/themes/static/variables/icons/main.min.js +3 -3
- package/dist/themes/static/variables/sizing.js +3 -3
- package/dist/themes/static/variables/sizing.min.js +3 -3
- package/dist/themes/static/variables/tokens/classic.js +9 -3
- package/dist/themes/static/variables/tokens/classic.min.js +4 -4
- package/dist/themes/static/variables/tokens/horizon.js +9 -3
- package/dist/themes/static/variables/tokens/horizon.min.js +4 -4
- package/dist/themes/static/variables/tokens/main.js +9 -3
- package/dist/themes/static/variables/tokens/main.min.js +4 -4
- package/editorManager.js +1 -3
- package/editorManager.mjs +1 -3
- package/editors/autocompleteEditor/autocompleteEditor.js +48 -22
- package/editors/autocompleteEditor/autocompleteEditor.mjs +48 -22
- package/editors/baseEditor/baseEditor.d.ts +15 -3
- package/editors/baseEditor/baseEditor.js +6 -6
- package/editors/baseEditor/baseEditor.mjs +16 -6
- package/editors/factory.js +5 -2
- package/editors/factory.mjs +5 -2
- package/editors/index.d.ts +3 -2
- package/editors/index.js +8 -0
- package/editors/index.mjs +3 -1
- package/editors/intlDatetimeEditor/index.d.mts +1 -0
- package/editors/intlDatetimeEditor/index.d.ts +1 -0
- package/editors/intlDatetimeEditor/index.js +19 -0
- package/editors/intlDatetimeEditor/index.mjs +1 -0
- package/editors/intlDatetimeEditor/intlDatetimeEditor.d.mts +1 -0
- package/editors/intlDatetimeEditor/intlDatetimeEditor.d.ts +42 -0
- package/editors/intlDatetimeEditor/intlDatetimeEditor.js +108 -0
- package/editors/intlDatetimeEditor/intlDatetimeEditor.mjs +93 -0
- package/editors/multiSelectEditor/controllers/dropdownController.js +5 -12
- package/editors/multiSelectEditor/controllers/dropdownController.mjs +5 -12
- package/editors/multiSelectEditor/controllers/inputController.js +1 -3
- package/editors/multiSelectEditor/controllers/inputController.mjs +1 -3
- package/editors/multiSelectEditor/multiSelectEditor.js +16 -21
- package/editors/multiSelectEditor/multiSelectEditor.mjs +17 -22
- package/editors/passwordEditor/passwordEditor.js +5 -12
- package/editors/passwordEditor/passwordEditor.mjs +5 -12
- package/editors/registry.js +4 -9
- package/editors/registry.mjs +4 -9
- package/editors/textEditor/textEditor.js +1 -1
- package/editors/textEditor/textEditor.mjs +2 -2
- package/eventManager.d.ts +3 -3
- package/focusManager/grid.d.ts +28 -0
- package/focusManager/grid.js +84 -14
- package/focusManager/grid.mjs +80 -15
- package/focusManager/scopeManager.js +1 -1
- package/focusManager/scopeManager.mjs +2 -2
- package/handsontable-non-commercial-license.pdf +0 -0
- package/helpers/array.d.ts +25 -0
- package/helpers/array.js +41 -4
- package/helpers/array.mjs +56 -4
- package/helpers/dateTime.d.ts +14 -0
- package/helpers/dateTime.js +74 -2
- package/helpers/dateTime.mjs +73 -2
- package/helpers/dom/cellCoords.js +156 -13
- package/helpers/dom/cellCoords.mjs +156 -13
- package/helpers/dom/element.d.ts +27 -3
- package/helpers/dom/element.js +92 -16
- package/helpers/dom/element.mjs +107 -17
- package/helpers/dom/event.d.ts +58 -0
- package/helpers/dom/event.js +39 -0
- package/helpers/dom/event.mjs +63 -0
- package/helpers/errors.d.ts +5 -0
- package/helpers/errors.js +10 -6
- package/helpers/errors.mjs +10 -6
- package/helpers/feature.d.ts +19 -0
- package/helpers/feature.js +21 -0
- package/helpers/feature.mjs +30 -0
- package/helpers/function.d.ts +1 -1
- package/helpers/function.js +4 -1
- package/helpers/function.mjs +4 -1
- package/helpers/mixed.d.ts +103 -0
- package/helpers/mixed.js +373 -4
- package/helpers/mixed.mjs +413 -4
- package/helpers/moves.js +2 -1
- package/helpers/moves.mjs +2 -1
- package/helpers/number.d.ts +22 -0
- package/helpers/number.js +49 -0
- package/helpers/number.mjs +66 -0
- package/i18n/languages/ar-AR.js +8 -19
- package/i18n/languages/cs-CZ.js +8 -19
- package/i18n/languages/de-CH.js +8 -19
- package/i18n/languages/de-DE.js +8 -19
- package/i18n/languages/en-US.js +8 -19
- package/i18n/languages/es-MX.js +8 -19
- package/i18n/languages/fa-IR.d.ts +1 -0
- package/i18n/languages/fa-IR.js +9 -19
- package/i18n/languages/fa-IR.mjs +1 -0
- package/i18n/languages/fr-FR.js +8 -19
- package/i18n/languages/hr-HR.js +8 -19
- package/i18n/languages/it-IT.js +8 -19
- package/i18n/languages/ja-JP.js +8 -19
- package/i18n/languages/ko-KR.js +8 -19
- package/i18n/languages/lv-LV.js +8 -19
- package/i18n/languages/nb-NO.js +8 -19
- package/i18n/languages/nl-NL.js +8 -19
- package/i18n/languages/pl-PL.js +8 -19
- package/i18n/languages/pt-BR.js +8 -19
- package/i18n/languages/ru-RU.js +8 -19
- package/i18n/languages/sr-SP.js +8 -19
- package/i18n/languages/zh-CN.js +8 -19
- package/i18n/languages/zh-TW.js +8 -19
- package/i18n/registry.js +8 -19
- package/index.d.ts +2 -2
- package/index.js +8 -19
- package/languages/all.js +2 -1
- package/languages/fa-IR.js +2 -1
- package/languages/fa-IR.mjs +1 -0
- package/languages/index.js +2 -1
- package/package.json +61 -1
- package/plugins/autoColumnSize/autoColumnSize.d.ts +24 -1
- package/plugins/autoColumnSize/autoColumnSize.js +506 -94
- package/plugins/autoColumnSize/autoColumnSize.mjs +513 -95
- package/plugins/autoRowSize/autoRowSize.d.ts +40 -5
- package/plugins/autoRowSize/autoRowSize.js +73 -36
- package/plugins/autoRowSize/autoRowSize.mjs +103 -41
- package/plugins/autofill/autofill.js +35 -24
- package/plugins/autofill/autofill.mjs +35 -24
- package/plugins/base/base.d.ts +10 -0
- package/plugins/base/base.js +5 -12
- package/plugins/base/base.mjs +5 -12
- package/plugins/bindRowsWithHeaders/bindRowsWithHeaders.js +4 -9
- package/plugins/bindRowsWithHeaders/bindRowsWithHeaders.mjs +4 -9
- package/plugins/collapsibleColumns/collapsibleColumns.d.ts +4 -0
- package/plugins/collapsibleColumns/collapsibleColumns.js +94 -20
- package/plugins/collapsibleColumns/collapsibleColumns.mjs +98 -20
- package/plugins/columnSorting/columnSorting.d.ts +31 -2
- package/plugins/columnSorting/columnSorting.js +153 -33
- package/plugins/columnSorting/columnSorting.mjs +155 -35
- package/plugins/columnSorting/columnStatesManager.d.ts +1 -1
- package/plugins/columnSorting/columnStatesManager.js +1 -7
- package/plugins/columnSorting/columnStatesManager.mjs +1 -7
- package/plugins/columnSorting/domHelpers.d.ts +3 -0
- package/plugins/columnSorting/domHelpers.js +9 -0
- package/plugins/columnSorting/domHelpers.mjs +3 -3
- package/plugins/columnSorting/rootComparator.js +21 -16
- package/plugins/columnSorting/rootComparator.mjs +21 -16
- package/plugins/columnSorting/sortFunction/checkbox.js +7 -5
- package/plugins/columnSorting/sortFunction/checkbox.mjs +7 -5
- package/plugins/columnSorting/sortFunction/default.js +15 -4
- package/plugins/columnSorting/sortFunction/default.mjs +15 -4
- package/plugins/columnSorting/sortFunction/intlDatetime.d.mts +1 -0
- package/plugins/columnSorting/sortFunction/intlDatetime.d.ts +10 -0
- package/plugins/columnSorting/sortFunction/intlDatetime.js +23 -0
- package/plugins/columnSorting/sortFunction/intlDatetime.mjs +12 -0
- package/plugins/columnSorting/sortService/registry.js +2 -0
- package/plugins/columnSorting/sortService/registry.mjs +2 -0
- package/plugins/columnSorting/utils.d.ts +8 -0
- package/plugins/columnSorting/utils.js +37 -45
- package/plugins/columnSorting/utils.mjs +42 -47
- package/plugins/columnSummary/columnSummary.js +13 -14
- package/plugins/columnSummary/columnSummary.mjs +13 -14
- package/plugins/columnSummary/endpoints.d.ts +69 -2
- package/plugins/columnSummary/endpoints.js +176 -29
- package/plugins/columnSummary/endpoints.mjs +176 -29
- package/plugins/comments/commentEditor.js +5 -10
- package/plugins/comments/commentEditor.mjs +6 -11
- package/plugins/comments/comments.js +5 -12
- package/plugins/comments/comments.mjs +5 -12
- package/plugins/comments/contextMenuItem/addEditComment.js +8 -19
- package/plugins/comments/contextMenuItem/readOnlyComment.js +8 -19
- package/plugins/comments/contextMenuItem/removeComment.js +8 -19
- package/plugins/comments/editorResizeObserver.js +5 -12
- package/plugins/comments/editorResizeObserver.mjs +5 -12
- package/plugins/contextMenu/contextMenu.d.ts +12 -1
- package/plugins/contextMenu/contextMenu.js +34 -15
- package/plugins/contextMenu/contextMenu.mjs +34 -15
- package/plugins/contextMenu/index.d.ts +1 -1
- package/plugins/contextMenu/menu/menu.d.ts +22 -1
- package/plugins/contextMenu/menu/menu.js +216 -15
- package/plugins/contextMenu/menu/menu.mjs +217 -16
- package/plugins/contextMenu/menu/positioner.js +4 -9
- package/plugins/contextMenu/menu/positioner.mjs +4 -9
- package/plugins/contextMenu/predefinedItems/alignment.js +22 -33
- package/plugins/contextMenu/predefinedItems/alignment.mjs +14 -14
- package/plugins/contextMenu/predefinedItems/clearColumn.js +9 -20
- package/plugins/contextMenu/predefinedItems/clearColumn.mjs +1 -1
- package/plugins/contextMenu/predefinedItems/columnLeft.js +8 -19
- package/plugins/contextMenu/predefinedItems/columnRight.js +8 -19
- package/plugins/contextMenu/predefinedItems/index.js +8 -19
- package/plugins/contextMenu/predefinedItems/readOnly.js +11 -22
- package/plugins/contextMenu/predefinedItems/readOnly.mjs +3 -3
- package/plugins/contextMenu/predefinedItems/redo.js +8 -19
- package/plugins/contextMenu/predefinedItems/removeColumn.js +8 -19
- package/plugins/contextMenu/predefinedItems/removeRow.js +8 -19
- package/plugins/contextMenu/predefinedItems/rowAbove.js +8 -19
- package/plugins/contextMenu/predefinedItems/rowBelow.js +8 -19
- package/plugins/contextMenu/predefinedItems/undo.js +8 -19
- package/plugins/contextMenu/utils.js +1 -1
- package/plugins/contextMenu/utils.mjs +1 -1
- package/plugins/copyPaste/contextMenuItem/cut.js +8 -19
- package/plugins/copyPaste/copyPaste.js +62 -20
- package/plugins/copyPaste/copyPaste.mjs +63 -21
- package/plugins/copyPaste/copyableRanges.js +11 -14
- package/plugins/copyPaste/copyableRanges.mjs +11 -14
- package/plugins/copyPaste/pasteEvent.d.ts +1 -1
- package/plugins/customBorders/contextMenuItem/bottom.js +8 -19
- package/plugins/customBorders/contextMenuItem/left.js +8 -19
- package/plugins/customBorders/contextMenuItem/noBorders.js +8 -19
- package/plugins/customBorders/contextMenuItem/right.js +8 -19
- package/plugins/customBorders/contextMenuItem/top.js +8 -19
- package/plugins/customBorders/customBorders.d.ts +21 -40
- package/plugins/customBorders/customBorders.js +1084 -223
- package/plugins/customBorders/customBorders.mjs +1078 -206
- package/plugins/customBorders/utils.d.ts +71 -0
- package/plugins/customBorders/utils.js +63 -0
- package/plugins/customBorders/utils.mjs +101 -0
- package/plugins/dataProvider/dataProvider.js +35 -38
- package/plugins/dataProvider/dataProvider.mjs +27 -19
- package/plugins/dataProvider/query/crud.js +1 -1
- package/plugins/dataProvider/query/crud.mjs +1 -1
- package/plugins/dialog/dialog.js +15 -33
- package/plugins/dialog/dialog.mjs +7 -14
- package/plugins/dialog/ui.js +5 -12
- package/plugins/dialog/ui.mjs +5 -12
- package/plugins/dragToScroll/autoScroller.js +4 -9
- package/plugins/dragToScroll/autoScroller.mjs +4 -9
- package/plugins/dragToScroll/dragToScroll.d.ts +2 -2
- package/plugins/dragToScroll/dragToScroll.js +155 -26
- package/plugins/dragToScroll/dragToScroll.mjs +156 -27
- package/plugins/dragToScroll/scrollTimer.js +4 -9
- package/plugins/dragToScroll/scrollTimer.mjs +4 -9
- package/plugins/dropdownMenu/dropdownMenu.d.ts +5 -1
- package/plugins/dropdownMenu/dropdownMenu.js +50 -15
- package/plugins/dropdownMenu/dropdownMenu.mjs +51 -16
- package/plugins/dropdownMenu/index.d.ts +1 -0
- package/plugins/emptyDataState/emptyDataState.js +15 -33
- package/plugins/emptyDataState/emptyDataState.mjs +7 -14
- package/plugins/emptyDataState/ui.js +4 -9
- package/plugins/emptyDataState/ui.mjs +4 -9
- package/plugins/exportFile/dataProvider.js +5 -1
- package/plugins/exportFile/dataProvider.mjs +5 -1
- package/plugins/exportFile/exportFile.js +13 -31
- package/plugins/exportFile/exportFile.mjs +5 -12
- package/plugins/exportFile/types/csv.js +1 -3
- package/plugins/exportFile/types/csv.mjs +1 -3
- package/plugins/exportFile/types/xlsx/cell-style.js +4 -2
- package/plugins/exportFile/types/xlsx/cell-style.mjs +4 -2
- package/plugins/exportFile/types/xlsx/date-utils.d.ts +15 -0
- package/plugins/exportFile/types/xlsx/date-utils.js +31 -0
- package/plugins/exportFile/types/xlsx/date-utils.mjs +36 -0
- package/plugins/exportFile/types/xlsx.js +10 -3
- package/plugins/exportFile/types/xlsx.mjs +11 -4
- package/plugins/filters/component/_base.d.ts +1 -2
- package/plugins/filters/component/_base.js +1 -2
- package/plugins/filters/component/_base.mjs +1 -2
- package/plugins/filters/component/actionBar.js +9 -22
- package/plugins/filters/component/actionBar.mjs +1 -3
- package/plugins/filters/component/condition.d.ts +1 -0
- package/plugins/filters/component/condition.js +11 -22
- package/plugins/filters/component/condition.mjs +3 -3
- package/plugins/filters/component/operators.js +1 -3
- package/plugins/filters/component/operators.mjs +1 -3
- package/plugins/filters/component/value.d.ts +5 -6
- package/plugins/filters/component/value.js +62 -56
- package/plugins/filters/component/value.mjs +55 -38
- package/plugins/filters/condition/beginsWith.js +8 -19
- package/plugins/filters/condition/between.js +8 -19
- package/plugins/filters/condition/contains.js +8 -19
- package/plugins/filters/condition/date/after.js +10 -20
- package/plugins/filters/condition/date/after.mjs +2 -1
- package/plugins/filters/condition/date/afterOrEqual.js +10 -20
- package/plugins/filters/condition/date/afterOrEqual.mjs +2 -1
- package/plugins/filters/condition/date/before.js +10 -20
- package/plugins/filters/condition/date/before.mjs +2 -1
- package/plugins/filters/condition/date/beforeOrEqual.js +10 -20
- package/plugins/filters/condition/date/beforeOrEqual.mjs +2 -1
- package/plugins/filters/condition/date/today.js +8 -19
- package/plugins/filters/condition/date/tomorrow.js +8 -19
- package/plugins/filters/condition/date/yesterday.js +8 -19
- package/plugins/filters/condition/empty.js +8 -19
- package/plugins/filters/condition/endsWith.js +8 -19
- package/plugins/filters/condition/equal.d.ts +7 -0
- package/plugins/filters/condition/equal.js +12 -19
- package/plugins/filters/condition/equal.mjs +10 -0
- package/plugins/filters/condition/greaterThan.js +8 -19
- package/plugins/filters/condition/greaterThanOrEqual.js +8 -19
- package/plugins/filters/condition/intlDate/after.js +8 -19
- package/plugins/filters/condition/intlDate/afterOrEqual.js +8 -19
- package/plugins/filters/condition/intlDate/before.js +8 -19
- package/plugins/filters/condition/intlDate/beforeOrEqual.js +8 -19
- package/plugins/filters/condition/intlDate/between.js +8 -19
- package/plugins/filters/condition/intlDate/today.js +8 -19
- package/plugins/filters/condition/intlDate/tomorrow.js +8 -19
- package/plugins/filters/condition/intlDate/yesterday.js +8 -19
- package/plugins/filters/condition/intlDatetime/after.d.mts +1 -0
- package/plugins/filters/condition/intlDatetime/after.d.ts +18 -0
- package/plugins/filters/condition/intlDatetime/after.js +66 -0
- package/plugins/filters/condition/intlDatetime/after.mjs +22 -0
- package/plugins/filters/condition/intlDatetime/afterOrEqual.d.mts +1 -0
- package/plugins/filters/condition/intlDatetime/afterOrEqual.d.ts +18 -0
- package/plugins/filters/condition/intlDatetime/afterOrEqual.js +66 -0
- package/plugins/filters/condition/intlDatetime/afterOrEqual.mjs +22 -0
- package/plugins/filters/condition/intlDatetime/before.d.mts +1 -0
- package/plugins/filters/condition/intlDatetime/before.d.ts +18 -0
- package/plugins/filters/condition/intlDatetime/before.js +66 -0
- package/plugins/filters/condition/intlDatetime/before.mjs +22 -0
- package/plugins/filters/condition/intlDatetime/beforeOrEqual.d.mts +1 -0
- package/plugins/filters/condition/intlDatetime/beforeOrEqual.d.ts +18 -0
- package/plugins/filters/condition/intlDatetime/beforeOrEqual.js +66 -0
- package/plugins/filters/condition/intlDatetime/beforeOrEqual.mjs +22 -0
- package/plugins/filters/condition/intlDatetime/between.d.mts +1 -0
- package/plugins/filters/condition/intlDatetime/between.d.ts +18 -0
- package/plugins/filters/condition/intlDatetime/between.js +67 -0
- package/plugins/filters/condition/intlDatetime/between.mjs +23 -0
- package/plugins/filters/condition/intlDatetime/today.d.mts +1 -0
- package/plugins/filters/condition/intlDatetime/today.d.ts +17 -0
- package/plugins/filters/condition/intlDatetime/today.js +65 -0
- package/plugins/filters/condition/intlDatetime/today.mjs +20 -0
- package/plugins/filters/condition/intlDatetime/tomorrow.d.mts +1 -0
- package/plugins/filters/condition/intlDatetime/tomorrow.d.ts +17 -0
- package/plugins/filters/condition/intlDatetime/tomorrow.js +66 -0
- package/plugins/filters/condition/intlDatetime/tomorrow.mjs +21 -0
- package/plugins/filters/condition/intlDatetime/yesterday.d.mts +1 -0
- package/plugins/filters/condition/intlDatetime/yesterday.d.ts +17 -0
- package/plugins/filters/condition/intlDatetime/yesterday.js +66 -0
- package/plugins/filters/condition/intlDatetime/yesterday.mjs +21 -0
- package/plugins/filters/condition/intlTime/after.js +8 -19
- package/plugins/filters/condition/intlTime/afterOrEqual.js +8 -19
- package/plugins/filters/condition/intlTime/before.js +8 -19
- package/plugins/filters/condition/intlTime/beforeOrEqual.js +8 -19
- package/plugins/filters/condition/intlTime/between.js +8 -19
- package/plugins/filters/condition/lessThan.js +8 -19
- package/plugins/filters/condition/lessThanOrEqual.js +8 -19
- package/plugins/filters/condition/none.js +8 -19
- package/plugins/filters/condition/notBetween.js +8 -19
- package/plugins/filters/condition/notContains.js +8 -19
- package/plugins/filters/condition/notEmpty.js +8 -19
- package/plugins/filters/condition/notEqual.js +8 -19
- package/plugins/filters/conditionCollection.js +4 -7
- package/plugins/filters/conditionCollection.mjs +4 -7
- package/plugins/filters/conditionUpdateObserver.d.ts +2 -2
- package/plugins/filters/conditionUpdateObserver.js +144 -52
- package/plugins/filters/conditionUpdateObserver.mjs +144 -52
- package/plugins/filters/constants.d.ts +1 -0
- package/plugins/filters/constants.js +31 -0
- package/plugins/filters/constants.mjs +28 -0
- package/plugins/filters/dataFilter.d.ts +4 -12
- package/plugins/filters/dataFilter.js +7 -19
- package/plugins/filters/dataFilter.mjs +8 -20
- package/plugins/filters/filters.d.ts +33 -9
- package/plugins/filters/filters.js +104 -62
- package/plugins/filters/filters.mjs +97 -44
- package/plugins/filters/logicalOperations/conjunction.js +8 -19
- package/plugins/filters/logicalOperations/disjunction.js +8 -19
- package/plugins/filters/logicalOperations/disjunctionWithExtraCondition.js +8 -19
- package/plugins/filters/sortComparators.d.ts +9 -2
- package/plugins/filters/sortComparators.js +34 -1
- package/plugins/filters/sortComparators.mjs +38 -3
- package/plugins/filters/ui/_base.js +8 -19
- package/plugins/filters/ui/input.d.ts +4 -0
- package/plugins/filters/ui/input.js +23 -18
- package/plugins/filters/ui/input.mjs +23 -18
- package/plugins/filters/ui/link.js +4 -9
- package/plugins/filters/ui/link.mjs +4 -9
- package/plugins/filters/ui/multipleSelect.js +40 -35
- package/plugins/filters/ui/multipleSelect.mjs +32 -16
- package/plugins/filters/ui/radioInput.js +4 -9
- package/plugins/filters/ui/radioInput.mjs +4 -9
- package/plugins/filters/ui/select.js +14 -32
- package/plugins/filters/ui/select.mjs +6 -13
- package/plugins/formulas/engine/register.d.ts +5 -4
- package/plugins/formulas/engine/register.js +5 -2
- package/plugins/formulas/engine/register.mjs +9 -5
- package/plugins/formulas/engine/settings.d.ts +2 -6
- package/plugins/formulas/engine/settings.js +29 -4
- package/plugins/formulas/engine/settings.mjs +29 -4
- package/plugins/formulas/engine/types.d.ts +12 -2
- package/plugins/formulas/formulas.d.ts +39 -0
- package/plugins/formulas/formulas.js +748 -55
- package/plugins/formulas/formulas.mjs +752 -57
- package/plugins/formulas/hyperlinkUrl.d.mts +1 -0
- package/plugins/formulas/hyperlinkUrl.d.ts +12 -0
- package/plugins/formulas/hyperlinkUrl.js +32 -0
- package/plugins/formulas/hyperlinkUrl.mjs +32 -0
- package/plugins/formulas/indexSyncer/axisSyncer.d.ts +1 -0
- package/plugins/formulas/indexSyncer/axisSyncer.js +77 -27
- package/plugins/formulas/indexSyncer/axisSyncer.mjs +77 -27
- package/plugins/formulas/indexSyncer/index.js +4 -9
- package/plugins/formulas/indexSyncer/index.mjs +4 -9
- package/plugins/formulas/utils.d.ts +9 -0
- package/plugins/formulas/utils.js +21 -0
- package/plugins/formulas/utils.mjs +25 -0
- package/plugins/hiddenColumns/contextMenuItem/hideColumn.js +8 -19
- package/plugins/hiddenColumns/contextMenuItem/showColumn.js +14 -20
- package/plugins/hiddenColumns/contextMenuItem/showColumn.mjs +6 -1
- package/plugins/hiddenColumns/hiddenColumns.js +11 -15
- package/plugins/hiddenColumns/hiddenColumns.mjs +11 -15
- package/plugins/hiddenRows/contextMenuItem/hideRow.js +8 -19
- package/plugins/hiddenRows/contextMenuItem/showRow.js +14 -20
- package/plugins/hiddenRows/contextMenuItem/showRow.mjs +6 -1
- package/plugins/hiddenRows/hiddenRows.js +11 -15
- package/plugins/hiddenRows/hiddenRows.mjs +11 -15
- package/plugins/index.d.ts +5 -1
- package/plugins/index.js +10 -0
- package/plugins/index.mjs +5 -1
- package/plugins/loading/loading.js +13 -31
- package/plugins/loading/loading.mjs +5 -12
- package/plugins/manualColumnFreeze/contextMenuItem/freezeColumn.js +8 -19
- package/plugins/manualColumnFreeze/contextMenuItem/unfreezeColumn.js +8 -19
- package/plugins/manualColumnFreeze/manualColumnFreeze.js +5 -12
- package/plugins/manualColumnFreeze/manualColumnFreeze.mjs +5 -12
- package/plugins/manualColumnMove/manualColumnMove.d.ts +10 -0
- package/plugins/manualColumnMove/manualColumnMove.js +128 -33
- package/plugins/manualColumnMove/manualColumnMove.mjs +129 -34
- package/plugins/manualColumnResize/manualColumnResize.d.ts +12 -1
- package/plugins/manualColumnResize/manualColumnResize.js +28 -17
- package/plugins/manualColumnResize/manualColumnResize.mjs +28 -17
- package/plugins/manualRowMove/manualRowMove.js +5 -12
- package/plugins/manualRowMove/manualRowMove.mjs +5 -12
- package/plugins/manualRowResize/manualRowResize.d.ts +13 -2
- package/plugins/manualRowResize/manualRowResize.js +29 -18
- package/plugins/manualRowResize/manualRowResize.mjs +29 -18
- package/plugins/mergeCells/cellCoords.d.ts +8 -0
- package/plugins/mergeCells/cellCoords.js +15 -9
- package/plugins/mergeCells/cellCoords.mjs +15 -9
- package/plugins/mergeCells/cellsCollection.d.ts +46 -2
- package/plugins/mergeCells/cellsCollection.js +190 -71
- package/plugins/mergeCells/cellsCollection.mjs +190 -71
- package/plugins/mergeCells/contextMenuItem/toggleMerge.js +8 -19
- package/plugins/mergeCells/focusOrder.d.ts +26 -20
- package/plugins/mergeCells/focusOrder.js +363 -189
- package/plugins/mergeCells/focusOrder.mjs +368 -184
- package/plugins/mergeCells/mergeCells.d.ts +13 -8
- package/plugins/mergeCells/mergeCells.js +327 -76
- package/plugins/mergeCells/mergeCells.mjs +327 -76
- package/plugins/moveCells/helpers.d.mts +1 -0
- package/plugins/moveCells/helpers.d.ts +21 -0
- package/plugins/moveCells/helpers.js +20 -0
- package/plugins/moveCells/helpers.mjs +15 -0
- package/plugins/moveCells/index.d.mts +1 -0
- package/plugins/moveCells/index.d.ts +1 -0
- package/plugins/moveCells/index.js +22 -0
- package/plugins/moveCells/index.mjs +1 -0
- package/plugins/moveCells/moveCells.d.mts +1 -0
- package/plugins/moveCells/moveCells.d.ts +80 -0
- package/plugins/moveCells/moveCells.js +595 -0
- package/plugins/moveCells/moveCells.mjs +580 -0
- package/plugins/multiColumnSorting/multiColumnSorting.d.ts +8 -8
- package/plugins/multiColumnSorting/multiColumnSorting.js +11 -16
- package/plugins/multiColumnSorting/multiColumnSorting.mjs +11 -16
- package/plugins/multiColumnSorting/rootComparator.js +26 -19
- package/plugins/multiColumnSorting/rootComparator.mjs +26 -19
- package/plugins/multipleSelectionHandles/multipleSelectionHandles.d.ts +19 -4
- package/plugins/multipleSelectionHandles/multipleSelectionHandles.js +266 -58
- package/plugins/multipleSelectionHandles/multipleSelectionHandles.mjs +266 -58
- package/plugins/nestedHeaders/nestedHeaders.d.ts +10 -1
- package/plugins/nestedHeaders/nestedHeaders.js +227 -35
- package/plugins/nestedHeaders/nestedHeaders.mjs +227 -35
- package/plugins/nestedHeaders/stateManager/columnArrangement.d.mts +1 -0
- package/plugins/nestedHeaders/stateManager/columnArrangement.d.ts +37 -0
- package/plugins/nestedHeaders/stateManager/columnArrangement.js +35 -0
- package/plugins/nestedHeaders/stateManager/columnArrangement.mjs +30 -0
- package/plugins/nestedHeaders/stateManager/deriveSettings.d.mts +1 -0
- package/plugins/nestedHeaders/stateManager/deriveSettings.d.ts +57 -0
- package/plugins/nestedHeaders/stateManager/deriveSettings.js +115 -0
- package/plugins/nestedHeaders/stateManager/deriveSettings.mjs +135 -0
- package/plugins/nestedHeaders/stateManager/headersTree.d.ts +14 -1
- package/plugins/nestedHeaders/stateManager/headersTree.js +4 -9
- package/plugins/nestedHeaders/stateManager/headersTree.mjs +4 -9
- package/plugins/nestedHeaders/stateManager/index.d.ts +76 -13
- package/plugins/nestedHeaders/stateManager/index.js +386 -50
- package/plugins/nestedHeaders/stateManager/index.mjs +387 -51
- package/plugins/nestedHeaders/stateManager/matrixGenerator.js +3 -2
- package/plugins/nestedHeaders/stateManager/matrixGenerator.mjs +3 -2
- package/plugins/nestedHeaders/stateManager/settingsNormalizer.js +5 -1
- package/plugins/nestedHeaders/stateManager/settingsNormalizer.mjs +5 -1
- package/plugins/nestedHeaders/stateManager/sourceSettings.d.ts +23 -6
- package/plugins/nestedHeaders/stateManager/sourceSettings.js +24 -13
- package/plugins/nestedHeaders/stateManager/sourceSettings.mjs +24 -13
- package/plugins/nestedHeaders/stateManager/utils.d.ts +17 -1
- package/plugins/nestedHeaders/stateManager/utils.js +6 -1
- package/plugins/nestedHeaders/stateManager/utils.mjs +6 -1
- package/plugins/nestedHeaders/utils/ghostTable.js +1 -3
- package/plugins/nestedHeaders/utils/ghostTable.mjs +1 -3
- package/plugins/nestedRows/data/dataManager.d.ts +4 -1
- package/plugins/nestedRows/data/dataManager.js +10 -4
- package/plugins/nestedRows/data/dataManager.mjs +10 -4
- package/plugins/nestedRows/nestedRows.d.ts +127 -1
- package/plugins/nestedRows/nestedRows.js +332 -17
- package/plugins/nestedRows/nestedRows.mjs +332 -17
- package/plugins/nestedRows/ui/collapsing.d.ts +58 -0
- package/plugins/nestedRows/ui/collapsing.js +234 -40
- package/plugins/nestedRows/ui/collapsing.mjs +234 -40
- package/plugins/nestedRows/ui/contextMenu.js +12 -28
- package/plugins/nestedRows/ui/contextMenu.mjs +4 -9
- package/plugins/notification/notification.js +13 -31
- package/plugins/notification/notification.mjs +5 -12
- package/plugins/notification/ui.js +4 -9
- package/plugins/notification/ui.mjs +4 -9
- package/plugins/pagination/pagination.js +7 -14
- package/plugins/pagination/pagination.mjs +7 -14
- package/plugins/pagination/ui.js +13 -31
- package/plugins/pagination/ui.mjs +5 -12
- package/plugins/search/search.js +27 -11
- package/plugins/search/search.mjs +27 -11
- package/plugins/selectionHandles/helpers.d.mts +1 -0
- package/plugins/selectionHandles/helpers.d.ts +17 -0
- package/plugins/selectionHandles/helpers.js +16 -0
- package/plugins/selectionHandles/helpers.mjs +11 -0
- package/plugins/selectionHandles/index.d.mts +1 -0
- package/plugins/selectionHandles/index.d.ts +1 -0
- package/plugins/selectionHandles/index.js +22 -0
- package/plugins/selectionHandles/index.mjs +1 -0
- package/plugins/selectionHandles/selectionHandles.d.mts +1 -0
- package/plugins/selectionHandles/selectionHandles.d.ts +52 -0
- package/plugins/selectionHandles/selectionHandles.js +335 -0
- package/plugins/selectionHandles/selectionHandles.mjs +316 -0
- package/plugins/stretchColumns/calculator.js +5 -12
- package/plugins/stretchColumns/calculator.mjs +5 -12
- package/plugins/stretchColumns/strategies/last.js +4 -9
- package/plugins/stretchColumns/strategies/last.mjs +4 -9
- package/plugins/stretchColumns/stretchColumns.js +4 -9
- package/plugins/stretchColumns/stretchColumns.mjs +4 -9
- package/plugins/touchScroll/touchScroll.js +4 -9
- package/plugins/touchScroll/touchScroll.mjs +4 -9
- package/plugins/trimRows/trimRows.d.ts +1 -1
- package/plugins/trimRows/trimRows.js +10 -11
- package/plugins/trimRows/trimRows.mjs +10 -11
- package/plugins/types.d.ts +4 -0
- package/plugins/undoRedo/actions/cellAlignment.js +1 -1
- package/plugins/undoRedo/actions/cellAlignment.mjs +1 -1
- package/plugins/undoRedo/actions/createColumn.js +4 -1
- package/plugins/undoRedo/actions/createColumn.mjs +4 -1
- package/plugins/undoRedo/actions/createRow.js +4 -1
- package/plugins/undoRedo/actions/createRow.mjs +4 -1
- package/plugins/undoRedo/actions/fixedCounts.d.mts +1 -0
- package/plugins/undoRedo/actions/fixedCounts.d.ts +36 -0
- package/plugins/undoRedo/actions/fixedCounts.js +63 -0
- package/plugins/undoRedo/actions/fixedCounts.mjs +62 -0
- package/plugins/undoRedo/actions/index.js +2 -0
- package/plugins/undoRedo/actions/index.mjs +2 -0
- package/plugins/undoRedo/actions/moveCells.d.mts +1 -0
- package/plugins/undoRedo/actions/moveCells.d.ts +104 -0
- package/plugins/undoRedo/actions/moveCells.js +225 -0
- package/plugins/undoRedo/actions/moveCells.mjs +227 -0
- package/plugins/undoRedo/actions/removeColumn.d.ts +18 -2
- package/plugins/undoRedo/actions/removeColumn.js +11 -4
- package/plugins/undoRedo/actions/removeColumn.mjs +12 -5
- package/plugins/undoRedo/actions/removeRow.js +2 -57
- package/plugins/undoRedo/actions/removeRow.mjs +2 -57
- package/plugins/undoRedo/undoRedo.d.ts +26 -0
- package/plugins/undoRedo/undoRedo.js +40 -11
- package/plugins/undoRedo/undoRedo.mjs +40 -11
- package/plugins/undoRedo/utils.d.ts +29 -0
- package/plugins/undoRedo/utils.js +55 -3
- package/plugins/undoRedo/utils.mjs +59 -0
- package/renderSizeProbe.d.mts +1 -0
- package/renderSizeProbe.d.ts +60 -0
- package/renderSizeProbe.js +161 -0
- package/renderSizeProbe.mjs +174 -0
- package/renderers/checkboxRenderer/checkboxRenderer.js +9 -4
- package/renderers/checkboxRenderer/checkboxRenderer.mjs +9 -4
- package/renderers/index.d.ts +3 -2
- package/renderers/index.js +8 -0
- package/renderers/index.mjs +3 -1
- package/renderers/intlDatetimeRenderer/index.d.mts +1 -0
- package/renderers/intlDatetimeRenderer/index.d.ts +1 -0
- package/renderers/intlDatetimeRenderer/index.js +22 -0
- package/renderers/intlDatetimeRenderer/index.mjs +1 -0
- package/renderers/intlDatetimeRenderer/intlDatetimeRenderer.d.mts +1 -0
- package/renderers/intlDatetimeRenderer/intlDatetimeRenderer.d.ts +26 -0
- package/renderers/intlDatetimeRenderer/intlDatetimeRenderer.js +82 -0
- package/renderers/intlDatetimeRenderer/intlDatetimeRenderer.mjs +67 -0
- package/renderers/multiSelectRenderer/multiSelectRenderer.js +2 -3
- package/renderers/multiSelectRenderer/multiSelectRenderer.mjs +2 -3
- package/renderers/multiSelectRenderer/utils/utils.d.ts +1 -1
- package/renderers/multiSelectRenderer/utils/utils.js +11 -8
- package/renderers/multiSelectRenderer/utils/utils.mjs +11 -8
- package/renderers/renderCell.d.mts +1 -0
- package/renderers/renderCell.d.ts +37 -0
- package/renderers/renderCell.js +43 -0
- package/renderers/renderCell.mjs +48 -0
- package/selection/highlight/highlight.js +1 -3
- package/selection/highlight/highlight.mjs +1 -3
- package/selection/highlight/types/areaLayered.d.ts +3 -1
- package/selection/highlight/types/areaLayered.js +4 -2
- package/selection/highlight/types/areaLayered.mjs +6 -2
- package/selection/highlight/types/focus.d.ts +3 -1
- package/selection/highlight/types/focus.js +3 -2
- package/selection/highlight/types/focus.mjs +5 -2
- package/selection/mouseEventHandler.js +29 -26
- package/selection/mouseEventHandler.mjs +29 -26
- package/selection/moveCells.d.mts +1 -0
- package/selection/moveCells.d.ts +15 -0
- package/selection/moveCells.js +13 -0
- package/selection/moveCells.mjs +9 -0
- package/selection/selection.d.ts +56 -2
- package/selection/selection.js +162 -36
- package/selection/selection.mjs +154 -17
- package/selection/transformation/_base.js +5 -12
- package/selection/transformation/_base.mjs +5 -12
- package/selection/types.d.ts +3 -0
- package/settings.d.ts +24 -3
- package/shortcuts/context.d.ts +4 -0
- package/shortcuts/context.js +16 -8
- package/shortcuts/context.mjs +20 -8
- package/shortcuts/contexts/commands/populateSelectedCellsData.js +1 -1
- package/shortcuts/contexts/commands/populateSelectedCellsData.mjs +1 -1
- package/styles/handsontable.css +504 -158
- package/styles/handsontable.min.css +4 -4
- package/styles/handsontableStyles.js +1 -1
- package/styles/handsontableStyles.mjs +1 -1
- package/styles/ht-icons-horizon.css +1 -10
- package/styles/ht-icons-horizon.min.css +4 -4
- package/styles/ht-icons-main.css +1 -10
- package/styles/ht-icons-main.min.css +4 -4
- package/styles/ht-theme-classic-no-icons.css +6 -0
- package/styles/ht-theme-classic-no-icons.min.css +4 -4
- package/styles/ht-theme-classic.css +7 -10
- package/styles/ht-theme-classic.min.css +4 -4
- package/styles/ht-theme-horizon-no-icons.css +6 -0
- package/styles/ht-theme-horizon-no-icons.min.css +4 -4
- package/styles/ht-theme-horizon.css +7 -10
- package/styles/ht-theme-horizon.min.css +4 -4
- package/styles/ht-theme-main-no-icons.css +6 -0
- package/styles/ht-theme-main-no-icons.min.css +4 -4
- package/styles/ht-theme-main.css +7 -10
- package/styles/ht-theme-main.min.css +4 -4
- package/tableView.d.ts +17 -4
- package/tableView.js +211 -53
- package/tableView.mjs +212 -54
- package/themes/engine/builder.js +5 -12
- package/themes/engine/builder.mjs +5 -12
- package/themes/engine/index.d.ts +2 -1
- package/themes/engine/index.js +3 -0
- package/themes/engine/index.mjs +1 -1
- package/themes/engine/manager.d.ts +75 -3
- package/themes/engine/manager.js +247 -18
- package/themes/engine/manager.mjs +254 -18
- package/themes/engine/utils/cssVariables.d.ts +18 -1
- package/themes/engine/utils/cssVariables.js +27 -11
- package/themes/engine/utils/cssVariables.mjs +28 -11
- package/themes/engine/utils/validation.js +7 -0
- package/themes/engine/utils/validation.mjs +7 -0
- package/themes/static/variables/helpers/iconsMap.js +1 -6
- package/themes/static/variables/helpers/iconsMap.mjs +1 -6
- package/themes/static/variables/tokens/classic.js +6 -0
- package/themes/static/variables/tokens/classic.mjs +6 -0
- package/themes/static/variables/tokens/horizon.js +6 -0
- package/themes/static/variables/tokens/horizon.mjs +6 -0
- package/themes/static/variables/tokens/main.js +6 -0
- package/themes/static/variables/tokens/main.mjs +6 -0
- package/themes/types.d.ts +1 -1
- package/translations/changesObservable/observable.js +4 -9
- package/translations/changesObservable/observable.mjs +4 -9
- package/translations/changesObservable/observer.js +4 -9
- package/translations/changesObservable/observer.mjs +4 -9
- package/translations/indexMapper.d.ts +14 -9
- package/translations/indexMapper.js +109 -49
- package/translations/indexMapper.mjs +109 -49
- package/translations/mapCollections/aggregatedCollection.js +20 -35
- package/translations/mapCollections/aggregatedCollection.mjs +20 -35
- package/translations/mapCollections/mapCollection.d.ts +10 -4
- package/translations/mapCollections/mapCollection.js +2 -2
- package/translations/mapCollections/mapCollection.mjs +2 -2
- package/translations/maps/booleanMap.d.mts +1 -0
- package/translations/maps/booleanMap.d.ts +86 -0
- package/translations/maps/booleanMap.js +293 -0
- package/translations/maps/booleanMap.mjs +301 -0
- package/translations/maps/hidingMap.d.ts +5 -2
- package/translations/maps/hidingMap.js +8 -3
- package/translations/maps/hidingMap.mjs +8 -3
- package/translations/maps/index.d.ts +5 -2
- package/translations/maps/index.js +7 -3
- package/translations/maps/index.mjs +10 -2
- package/translations/maps/indexMap.d.ts +26 -2
- package/translations/maps/indexMap.js +73 -6
- package/translations/maps/indexMap.mjs +73 -6
- package/translations/maps/indexesSequence.d.ts +53 -2
- package/translations/maps/indexesSequence.js +218 -3
- package/translations/maps/indexesSequence.mjs +226 -3
- package/translations/maps/trimmingMap.d.ts +5 -2
- package/translations/maps/trimmingMap.js +8 -3
- package/translations/maps/trimmingMap.mjs +8 -3
- package/translations/maps/utils/actionsOnIndexes.js +20 -1
- package/translations/maps/utils/actionsOnIndexes.mjs +20 -1
- package/translations/maps/utils/indexesSequence.js +12 -3
- package/translations/maps/utils/indexesSequence.mjs +12 -3
- package/translations/maps/utils/physicallyIndexed.js +12 -1
- package/translations/maps/utils/physicallyIndexed.mjs +12 -1
- package/utils/entitlementLicenseKey/classify.d.mts +1 -0
- package/utils/entitlementLicenseKey/classify.d.ts +34 -0
- package/utils/entitlementLicenseKey/classify.js +97 -0
- package/utils/entitlementLicenseKey/classify.mjs +96 -0
- package/utils/entitlementLicenseKey/constants.d.mts +1 -0
- package/utils/entitlementLicenseKey/constants.d.ts +69 -0
- package/utils/entitlementLicenseKey/constants.js +54 -0
- package/utils/entitlementLicenseKey/constants.mjs +66 -0
- package/utils/entitlementLicenseKey/detectFormat.d.mts +1 -0
- package/utils/entitlementLicenseKey/detectFormat.d.ts +23 -0
- package/utils/entitlementLicenseKey/detectFormat.js +60 -0
- package/utils/entitlementLicenseKey/detectFormat.mjs +60 -0
- package/utils/entitlementLicenseKey/encoding.d.mts +1 -0
- package/utils/entitlementLicenseKey/encoding.d.ts +58 -0
- package/utils/entitlementLicenseKey/encoding.js +161 -0
- package/utils/entitlementLicenseKey/encoding.mjs +172 -0
- package/utils/entitlementLicenseKey/extractKeyData.d.mts +1 -0
- package/utils/entitlementLicenseKey/extractKeyData.d.ts +47 -0
- package/utils/entitlementLicenseKey/extractKeyData.js +213 -0
- package/utils/entitlementLicenseKey/extractKeyData.mjs +232 -0
- package/utils/entitlementLicenseKey/grants.d.mts +1 -0
- package/utils/entitlementLicenseKey/grants.d.ts +54 -0
- package/utils/entitlementLicenseKey/grants.js +68 -0
- package/utils/entitlementLicenseKey/grants.mjs +84 -0
- package/utils/entitlementLicenseKey/index.d.mts +1 -0
- package/utils/entitlementLicenseKey/index.d.ts +8 -0
- package/utils/entitlementLicenseKey/index.js +53 -0
- package/utils/entitlementLicenseKey/index.mjs +6 -0
- package/utils/entitlementLicenseKey/sha512.d.mts +1 -0
- package/utils/entitlementLicenseKey/sha512.d.ts +11 -0
- package/utils/entitlementLicenseKey/sha512.js +328 -0
- package/utils/entitlementLicenseKey/sha512.mjs +327 -0
- package/utils/entitlementLicenseKey/types.d.mts +1 -0
- package/utils/entitlementLicenseKey/types.d.ts +84 -0
- package/utils/entitlementLicenseKey/types.js +8 -0
- package/utils/entitlementLicenseKey/types.mjs +10 -0
- package/utils/ghostTable.d.ts +1 -0
- package/utils/ghostTable.js +58 -11
- package/utils/ghostTable.mjs +58 -11
- package/utils/interval.js +5 -12
- package/utils/interval.mjs +5 -12
- package/utils/licenseBranding/badge.d.mts +1 -0
- package/utils/licenseBranding/badge.d.ts +21 -0
- package/utils/licenseBranding/badge.js +237 -0
- package/utils/licenseBranding/badge.mjs +244 -0
- package/utils/licenseBranding/content.d.mts +1 -0
- package/utils/licenseBranding/content.d.ts +54 -0
- package/utils/licenseBranding/content.js +93 -0
- package/utils/licenseBranding/content.mjs +79 -0
- package/utils/licenseBranding/index.d.mts +1 -0
- package/utils/licenseBranding/index.d.ts +14 -0
- package/utils/licenseBranding/index.js +55 -0
- package/utils/licenseBranding/index.mjs +56 -0
- package/utils/licenseBranding/lockScreen.d.mts +1 -0
- package/utils/licenseBranding/lockScreen.d.ts +23 -0
- package/utils/licenseBranding/lockScreen.js +150 -0
- package/utils/licenseBranding/lockScreen.mjs +159 -0
- package/utils/licenseNotification.d.ts +19 -0
- package/utils/licenseNotification.js +56 -29
- package/utils/licenseNotification.mjs +61 -29
- package/utils/movableMeta.d.mts +1 -0
- package/utils/movableMeta.d.ts +40 -0
- package/utils/movableMeta.js +47 -0
- package/utils/movableMeta.mjs +46 -0
- package/utils/parseTable.js +1 -1
- package/utils/parseTable.mjs +1 -1
- package/utils/samplesGenerator.d.ts +41 -14
- package/utils/samplesGenerator.js +112 -42
- package/utils/samplesGenerator.mjs +112 -42
- package/utils/stylesHandler.d.ts +13 -0
- package/utils/stylesHandler.js +60 -14
- package/utils/stylesHandler.mjs +60 -14
- package/validators/autocompleteValidator/autocompleteValidator.js +3 -0
- package/validators/autocompleteValidator/autocompleteValidator.mjs +3 -0
- package/validators/index.d.ts +3 -2
- package/validators/index.js +8 -0
- package/validators/index.mjs +3 -1
- package/validators/intlDatetimeValidator/index.d.mts +1 -0
- package/validators/intlDatetimeValidator/index.d.ts +1 -0
- package/validators/intlDatetimeValidator/index.js +25 -0
- package/validators/intlDatetimeValidator/index.mjs +1 -0
- package/validators/intlDatetimeValidator/intlDatetimeValidator.d.mts +1 -0
- package/validators/intlDatetimeValidator/intlDatetimeValidator.d.ts +28 -0
- package/validators/intlDatetimeValidator/intlDatetimeValidator.js +49 -0
- package/validators/intlDatetimeValidator/intlDatetimeValidator.mjs +37 -0
- package/3rdparty/walkontable/src/overlay/bottom.d.mts +0 -1
- package/3rdparty/walkontable/src/overlay/bottomInlineStartCorner.d.mts +0 -1
- package/3rdparty/walkontable/src/overlay/inlineStart.d.mts +0 -1
- package/3rdparty/walkontable/src/overlay/top.d.mts +0 -1
- package/3rdparty/walkontable/src/overlay/topInlineStartCorner.d.mts +0 -1
- package/3rdparty/walkontable/src/overlays.d.ts +0 -329
- package/3rdparty/walkontable/src/overlays.js +0 -870
- package/3rdparty/walkontable/src/overlays.mjs +0 -860
- package/3rdparty/walkontable/src/renderer/table.d.mts +0 -1
- package/3rdparty/walkontable/src/renderer/table.js +0 -229
- package/3rdparty/walkontable/src/settings.d.mts +0 -2
- package/3rdparty/walkontable/src/settings.js +0 -196
- package/3rdparty/walkontable/src/settings.mjs +0 -263
- package/3rdparty/walkontable/src/table/bottom.d.mts +0 -2
- package/3rdparty/walkontable/src/table/bottom.d.ts +0 -19
- package/3rdparty/walkontable/src/table/bottom.js +0 -38
- package/3rdparty/walkontable/src/table/bottom.mjs +0 -23
- package/3rdparty/walkontable/src/table/bottomInlineStartCorner.d.mts +0 -2
- package/3rdparty/walkontable/src/table/bottomInlineStartCorner.d.ts +0 -20
- package/3rdparty/walkontable/src/table/bottomInlineStartCorner.mjs +0 -24
- package/3rdparty/walkontable/src/table/inlineStart.d.mts +0 -2
- package/3rdparty/walkontable/src/table/inlineStart.d.ts +0 -16
- package/3rdparty/walkontable/src/table/inlineStart.js +0 -35
- package/3rdparty/walkontable/src/table/inlineStart.mjs +0 -20
- package/3rdparty/walkontable/src/table/master.d.mts +0 -2
- package/3rdparty/walkontable/src/table/mixin/calculatedColumns.d.mts +0 -2
- package/3rdparty/walkontable/src/table/mixin/calculatedColumns.d.ts +0 -75
- package/3rdparty/walkontable/src/table/mixin/calculatedColumns.js +0 -122
- package/3rdparty/walkontable/src/table/mixin/calculatedColumns.mjs +0 -112
- package/3rdparty/walkontable/src/table/mixin/calculatedRows.d.mts +0 -2
- package/3rdparty/walkontable/src/table/mixin/calculatedRows.d.ts +0 -75
- package/3rdparty/walkontable/src/table/mixin/calculatedRows.js +0 -122
- package/3rdparty/walkontable/src/table/mixin/calculatedRows.mjs +0 -112
- package/3rdparty/walkontable/src/table/top.d.mts +0 -2
- package/3rdparty/walkontable/src/table/top.d.ts +0 -19
- package/3rdparty/walkontable/src/table/top.js +0 -38
- package/3rdparty/walkontable/src/table/top.mjs +0 -23
- package/3rdparty/walkontable/src/table/topInlineStartCorner.d.mts +0 -2
- package/3rdparty/walkontable/src/table/topInlineStartCorner.d.ts +0 -20
- package/3rdparty/walkontable/src/table/topInlineStartCorner.mjs +0 -24
- package/3rdparty/walkontable/src/table.d.mts +0 -2
- package/3rdparty/walkontable/src/table.d.ts +0 -741
- package/3rdparty/walkontable/src/table.js +0 -1120
- package/3rdparty/walkontable/src/table.mjs +0 -1105
- package/3rdparty/walkontable/src/utils/cellCoords.d.mts +0 -1
- package/3rdparty/walkontable/src/utils/cellCoords.js +0 -54
- package/3rdparty/walkontable/src/utils/cellCoords.mjs +0 -54
- package/3rdparty/walkontable/src/utils/column.d.mts +0 -2
- package/3rdparty/walkontable/src/utils/column.js +0 -75
- package/3rdparty/walkontable/src/utils/column.mjs +0 -70
- package/3rdparty/walkontable/src/utils/positionCache.d.mts +0 -1
- package/3rdparty/walkontable/src/utils/positionCache.d.ts +0 -91
- package/3rdparty/walkontable/src/utils/positionCache.js +0 -193
- package/3rdparty/walkontable/src/utils/positionCache.mjs +0 -194
- package/3rdparty/walkontable/src/utils/row.d.mts +0 -2
- package/3rdparty/walkontable/src/utils/row.js +0 -46
- package/3rdparty/walkontable/src/utils/row.mjs +0 -41
- package/3rdparty/walkontable/src/viewport.d.ts +0 -254
- package/3rdparty/walkontable/src/viewport.js +0 -533
- package/3rdparty/walkontable/src/viewport.mjs +0 -523
- /package/3rdparty/walkontable/src/{renderer → axisSizing/positionCache}/index.d.mts +0 -0
- /package/3rdparty/walkontable/src/{overlays.d.mts → overlay/overlays.d.mts} +0 -0
- /package/3rdparty/walkontable/src/overlay/{_base.d.mts → regions/_base.d.mts} +0 -0
- /package/3rdparty/walkontable/src/{stickyScrollStrategy.d.mts → overlay/strategies/stickyScrollStrategy.d.mts} +0 -0
- /package/3rdparty/walkontable/src/{renderer → render}/_base.d.mts +0 -0
- /package/3rdparty/walkontable/src/{renderer → render}/_base.js +0 -0
- /package/3rdparty/walkontable/src/{renderer → render}/_base.mjs +0 -0
- /package/3rdparty/walkontable/src/{renderer → render}/cells.d.mts +0 -0
- /package/3rdparty/walkontable/src/{renderer → render}/cells.d.ts +0 -0
- /package/3rdparty/walkontable/src/{renderer → render}/colGroup.d.mts +0 -0
- /package/3rdparty/walkontable/src/{renderer → render}/colGroup.d.ts +0 -0
- /package/3rdparty/walkontable/src/{renderer → render}/colGroup.js +0 -0
- /package/3rdparty/walkontable/src/{renderer → render}/colGroup.mjs +0 -0
- /package/3rdparty/walkontable/src/{renderer → render}/columnHeaderRows.d.mts +0 -0
- /package/3rdparty/walkontable/src/{renderer → render}/columnHeaderRows.d.ts +0 -0
- /package/3rdparty/walkontable/src/{renderer → render}/columnHeaderRows.js +0 -0
- /package/3rdparty/walkontable/src/{renderer → render}/columnHeaderRows.mjs +0 -0
- /package/3rdparty/walkontable/src/{renderer → render}/columnHeaders.d.mts +0 -0
- /package/3rdparty/walkontable/src/{renderer → render}/rowHeaders.d.mts +0 -0
- /package/3rdparty/walkontable/src/{renderer → render}/rowHeaders.d.ts +0 -0
- /package/3rdparty/walkontable/src/{renderer → render}/rowHeaders.js +0 -0
- /package/3rdparty/walkontable/src/{renderer → render}/rowHeaders.mjs +0 -0
- /package/3rdparty/walkontable/src/{renderer → render}/rows.d.mts +0 -0
- /package/3rdparty/walkontable/src/{renderer → render}/rows.d.ts +0 -0
- /package/3rdparty/walkontable/src/{scroll.d.mts → scroll/scroll.d.mts} +0 -0
- /package/3rdparty/walkontable/src/table/{mixin → rangeQuery}/stickyColumnsStart.d.mts +0 -0
- /package/3rdparty/walkontable/src/table/{mixin → rangeQuery}/stickyRowsBottom.d.mts +0 -0
- /package/3rdparty/walkontable/src/table/{mixin → rangeQuery}/stickyRowsBottom.js +0 -0
- /package/3rdparty/walkontable/src/table/{mixin → rangeQuery}/stickyRowsBottom.mjs +0 -0
- /package/3rdparty/walkontable/src/table/{mixin → rangeQuery}/stickyRowsTop.d.mts +0 -0
- /package/3rdparty/walkontable/src/{viewport.d.mts → viewport/viewport.d.mts} +0 -0
|
@@ -146,6 +146,16 @@ const _default = ()=>{
|
|
|
146
146
|
* @default undefined
|
|
147
147
|
*/ _userDefinedMetaProps: undefined,
|
|
148
148
|
/**
|
|
149
|
+
* Information on which cell meta properties were set through `setCellMeta` - both imperatively
|
|
150
|
+
* (user, context menu) and declaratively (the `cell` option). Unlike values derived on demand by
|
|
151
|
+
* `getCellMeta` (the cascade, the `cells` function, `type` expansion), these are not rebuilt on
|
|
152
|
+
* access, so the viewport-eviction pass keeps any cell whose set is non-empty.
|
|
153
|
+
*
|
|
154
|
+
* @private
|
|
155
|
+
* @type {Set}
|
|
156
|
+
* @default undefined
|
|
157
|
+
*/ _persistedMetaProps: undefined,
|
|
158
|
+
/**
|
|
149
159
|
* The `activeHeaderClassName` option lets you add a CSS class name
|
|
150
160
|
* to every currently-active, currently-selected header (when a whole column or row is selected).
|
|
151
161
|
*
|
|
@@ -190,7 +200,11 @@ const _default = ()=>{
|
|
|
190
200
|
* | `false` | - Don't accept `null`, `undefined` and `''` values<br>- Mark cells that contain `null`, `undefined` or `''` values with as `invalid` |
|
|
191
201
|
*
|
|
192
202
|
* ::: tip
|
|
193
|
-
*
|
|
203
|
+
* The [`allowEmpty`](#allowempty) option only takes effect when the cell has a [`validator`](#validator).
|
|
204
|
+
* You can set a validator directly, or use a [`type`](#type) that comes with a built-in validator,
|
|
205
|
+
* such as `numeric`, `date`, `time`, `autocomplete`, `dropdown`, or `multiSelect`.
|
|
206
|
+
* Types without a built-in validator, such as `text`, `checkbox`, `password`, and `handsontable`,
|
|
207
|
+
* ignore the `allowEmpty` option unless you also set a `validator`.
|
|
194
208
|
* :::
|
|
195
209
|
*
|
|
196
210
|
* This option can be set at any level of the [cascading configuration](@/guides/getting-started/configuration-options/configuration-options.md#cascading-configuration):
|
|
@@ -286,6 +300,9 @@ const _default = ()=>{
|
|
|
286
300
|
* - **Insert row above**
|
|
287
301
|
* - **Insert row below**
|
|
288
302
|
*
|
|
303
|
+
* This option can only be set at the [grid level](@/guides/getting-started/configuration-options/configuration-options.md#set-grid-options).
|
|
304
|
+
* It has no effect when set in the [`columns`](#columns), [`cells`](#cells), or [`cell`](#cell) options.
|
|
305
|
+
*
|
|
289
306
|
* @memberof Options#
|
|
290
307
|
* @type {boolean}
|
|
291
308
|
* @default true
|
|
@@ -356,6 +373,9 @@ const _default = ()=>{
|
|
|
356
373
|
* Read more:
|
|
357
374
|
* - [Context menu](@/guides/accessories-and-menus/context-menu/context-menu.md)
|
|
358
375
|
*
|
|
376
|
+
* This option can only be set at the [grid level](@/guides/getting-started/configuration-options/configuration-options.md#set-grid-options).
|
|
377
|
+
* It has no effect when set in the [`columns`](#columns), [`cells`](#cells), or [`cell`](#cell) options.
|
|
378
|
+
*
|
|
359
379
|
* @memberof Options#
|
|
360
380
|
* @type {boolean}
|
|
361
381
|
* @default true
|
|
@@ -408,6 +428,9 @@ const _default = ()=>{
|
|
|
408
428
|
* Read more:
|
|
409
429
|
* - [Plugins: `AutoColumnSize`](@/api/autoColumnSize.md)
|
|
410
430
|
*
|
|
431
|
+
* This option can only be set at the [grid level](@/guides/getting-started/configuration-options/configuration-options.md#set-grid-options).
|
|
432
|
+
* It has no effect when set in the [`columns`](#columns), [`cells`](#cells), or [`cell`](#cell) options.
|
|
433
|
+
*
|
|
411
434
|
* @memberof Options#
|
|
412
435
|
* @type {object|boolean}
|
|
413
436
|
* @default undefined
|
|
@@ -442,15 +465,20 @@ const _default = ()=>{
|
|
|
442
465
|
*
|
|
443
466
|
* If you set the `autoRowSize` option to an object, you can set the following [`AutoRowSize`](@/api/autoRowSize.md) plugin options:
|
|
444
467
|
*
|
|
445
|
-
* | Property
|
|
446
|
-
* |
|
|
447
|
-
* | `syncLimit`
|
|
468
|
+
* | Property | Possible values | Description |
|
|
469
|
+
* | ----------------------- | ------------------------------- | ---------------------------------------------------------------------------------------------------------- |
|
|
470
|
+
* | `syncLimit` | A number \| A percentage string | The number/percentage of rows to keep in sync<br>(default: `500`) |
|
|
471
|
+
* | `samplingRatio` | A number | The number of samples of the same length to be used in row height calculations |
|
|
472
|
+
* | `allowSampleDuplicates` | `true` \| `false` | When calculating row heights:<br>`true`: Allow duplicate samples<br>`false`: Don't allow duplicate samples |
|
|
448
473
|
*
|
|
449
474
|
* Using the [`rowHeights`](#rowHeights) option forcibly disables the [`AutoRowSize`](@/api/autoRowSize.md) plugin.
|
|
450
475
|
*
|
|
451
476
|
* Read more:
|
|
452
477
|
* - [Plugins: `AutoRowSize`](@/api/autoRowSize.md)
|
|
453
478
|
*
|
|
479
|
+
* This option can only be set at the [grid level](@/guides/getting-started/configuration-options/configuration-options.md#set-grid-options).
|
|
480
|
+
* It has no effect when set in the [`columns`](#columns), [`cells`](#cells), or [`cell`](#cell) options.
|
|
481
|
+
*
|
|
454
482
|
* @memberof Options#
|
|
455
483
|
* @type {object|boolean}
|
|
456
484
|
* @default undefined
|
|
@@ -460,7 +488,11 @@ const _default = ()=>{
|
|
|
460
488
|
* ```js
|
|
461
489
|
* autoRowSize: {
|
|
462
490
|
* // keep 40% of rows in sync (the rest of rows: async)
|
|
463
|
-
* syncLimit: '40%'
|
|
491
|
+
* syncLimit: '40%',
|
|
492
|
+
* // when calculating row heights, use 10 samples of the same length
|
|
493
|
+
* samplingRatio: 10,
|
|
494
|
+
* // when calculating row heights, allow duplicate samples
|
|
495
|
+
* allowSampleDuplicates: true
|
|
464
496
|
* },
|
|
465
497
|
* ```
|
|
466
498
|
*/ autoRowSize: undefined,
|
|
@@ -470,6 +502,9 @@ const _default = ()=>{
|
|
|
470
502
|
* | `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. |
|
|
471
503
|
* | `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. |
|
|
472
504
|
*
|
|
505
|
+
* This option can only be set at the [grid level](@/guides/getting-started/configuration-options/configuration-options.md#set-grid-options).
|
|
506
|
+
* It has no effect when set in the [`columns`](#columns), [`cells`](#cells), or [`cell`](#cell) options.
|
|
507
|
+
*
|
|
473
508
|
* @memberof Options#
|
|
474
509
|
* @type {boolean}
|
|
475
510
|
* @default false
|
|
@@ -495,6 +530,9 @@ const _default = ()=>{
|
|
|
495
530
|
* \* The exact key depends on your [`layoutDirection`](#layoutdirection) configuration.<br>
|
|
496
531
|
* \*\* Unless [`tabNavigation`](#tabnavigation) is set to `false`.
|
|
497
532
|
*
|
|
533
|
+
* This option can only be set at the [grid level](@/guides/getting-started/configuration-options/configuration-options.md#set-grid-options).
|
|
534
|
+
* It has no effect when set in the [`columns`](#columns), [`cells`](#cells), or [`cell`](#cell) options.
|
|
535
|
+
*
|
|
498
536
|
* @memberof Options#
|
|
499
537
|
* @type {boolean}
|
|
500
538
|
* @default false
|
|
@@ -549,9 +587,16 @@ const _default = ()=>{
|
|
|
549
587
|
* The `cell` option overwrites the [top-level grid options](@/guides/getting-started/configuration-options/configuration-options.md#set-grid-options),
|
|
550
588
|
* and the [`columns`](#columns) options.
|
|
551
589
|
*
|
|
590
|
+
* Each entry's `row` and `col` are **visual** indexes. This differs from the [`cells`](#cells)
|
|
591
|
+
* option, whose `row` and `column` are physical indexes.
|
|
592
|
+
*
|
|
552
593
|
* Read more:
|
|
553
594
|
* - [Configuration options: Setting cell options](@/guides/getting-started/configuration-options/configuration-options.md#set-cell-options)
|
|
554
595
|
* - [`columns`](#columns)
|
|
596
|
+
* - [`cells`](#cells)
|
|
597
|
+
*
|
|
598
|
+
* This option can only be set at the [grid level](@/guides/getting-started/configuration-options/configuration-options.md#set-grid-options).
|
|
599
|
+
* It has no effect when set in the [`columns`](#columns), [`cells`](#cells), or [`cell`](#cell) options.
|
|
555
600
|
*
|
|
556
601
|
* @memberof Options#
|
|
557
602
|
* @type {Array[]}
|
|
@@ -585,6 +630,12 @@ const _default = ()=>{
|
|
|
585
630
|
* | `column` | Yes | Number | A physical column index |
|
|
586
631
|
* | `prop` | No | String \| Number | If [`data`](#data) is set to an [array of arrays](@/guides/getting-started/binding-to-data/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/binding-to-data.md#array-of-objects), `prop` is a property name for the column's data object. |
|
|
587
632
|
*
|
|
633
|
+
* Inside a regular (non-arrow) `cells` function, `this` is the cell meta object. Its
|
|
634
|
+
* `this.instance` property is the Handsontable instance, so you can call core API methods
|
|
635
|
+
* such as `this.instance.toVisualRow(row)` or `this.instance.toVisualColumn(column)` (as in
|
|
636
|
+
* the example below). Arrow functions (`cells: () => {}`) do not bind `this`, so
|
|
637
|
+
* `this.instance` is not available inside them – use a regular or shorthand function instead.
|
|
638
|
+
*
|
|
588
639
|
* Read more:
|
|
589
640
|
* - [Configuration options: Implementing custom logic](@/guides/getting-started/configuration-options/configuration-options.md#implement-custom-logic)
|
|
590
641
|
* - [Configuration options: Setting row options](@/guides/getting-started/configuration-options/configuration-options.md#set-row-options)
|
|
@@ -665,14 +716,14 @@ const _default = ()=>{
|
|
|
665
716
|
* ```
|
|
666
717
|
*/ checkedTemplate: undefined,
|
|
667
718
|
/**
|
|
668
|
-
* The `className` option lets you add CSS class names to every
|
|
719
|
+
* The `className` option lets you add CSS class names to every cell that has this option set.
|
|
669
720
|
*
|
|
670
721
|
* You can set the `className` option to one of the following:
|
|
671
722
|
*
|
|
672
|
-
* | Setting | Description
|
|
673
|
-
* | ------------------- |
|
|
674
|
-
* | A string | Add a single CSS class name to every
|
|
675
|
-
* | An array of strings | Add multiple CSS class names to every
|
|
723
|
+
* | Setting | Description |
|
|
724
|
+
* | ------------------- | --------------------------------------------------- |
|
|
725
|
+
* | A string | Add a single CSS class name to every matching cell |
|
|
726
|
+
* | An array of strings | Add multiple CSS class names to every matching cell |
|
|
676
727
|
*
|
|
677
728
|
* ::: tip
|
|
678
729
|
* Don't change the `className` metadata of the [column summary](@/guides/columns/column-summary/column-summary.md) row.
|
|
@@ -701,12 +752,10 @@ const _default = ()=>{
|
|
|
701
752
|
*
|
|
702
753
|
* @example
|
|
703
754
|
* ```js
|
|
704
|
-
* // add a `your-class-name` CSS class name
|
|
705
|
-
* // to every currently-selected element
|
|
755
|
+
* // add a `your-class-name` CSS class name to every cell
|
|
706
756
|
* className: 'your-class-name',
|
|
707
757
|
*
|
|
708
|
-
* // add `first-class-name` and `second-class-name` CSS class names
|
|
709
|
-
* // to every currently-selected element
|
|
758
|
+
* // add `first-class-name` and `second-class-name` CSS class names to every cell
|
|
710
759
|
* className: ['first-class-name', 'second-class-name'],
|
|
711
760
|
* ```
|
|
712
761
|
*/ className: undefined,
|
|
@@ -722,8 +771,14 @@ const _default = ()=>{
|
|
|
722
771
|
* | An array | Define your own column headers (e.g. `['One', 'Two', 'Three', ...]`) |
|
|
723
772
|
* | A function | Define your own column headers, using a function |
|
|
724
773
|
*
|
|
774
|
+
* To set the header label of an individual column, use that column's [`title`](#title) option.
|
|
775
|
+
*
|
|
725
776
|
* Read more:
|
|
726
777
|
* - [Column header](@/guides/columns/column-header/column-header.md)
|
|
778
|
+
* - [`title`](#title)
|
|
779
|
+
*
|
|
780
|
+
* This option can only be set at the [grid level](@/guides/getting-started/configuration-options/configuration-options.md#set-grid-options).
|
|
781
|
+
* It has no effect when set in the [`columns`](#columns), [`cells`](#cells), or [`cell`](#cell) options.
|
|
727
782
|
*
|
|
728
783
|
* @memberof Options#
|
|
729
784
|
* @type {boolean|string[]|Function}
|
|
@@ -766,6 +821,7 @@ const _default = ()=>{
|
|
|
766
821
|
*
|
|
767
822
|
* Read more:
|
|
768
823
|
* - [Plugins: `CollapsibleColumns`](@/api/collapsibleColumns.md)
|
|
824
|
+
* - [Column groups: Collapsible headers](@/guides/columns/column-groups/column-groups.md#collapsible-headers)
|
|
769
825
|
* - [`nestedHeaders`](#nestedHeaders)
|
|
770
826
|
*
|
|
771
827
|
* @memberof Options#
|
|
@@ -796,6 +852,9 @@ const _default = ()=>{
|
|
|
796
852
|
* | A number | Set the same height for every column header |
|
|
797
853
|
* | An array | Set different heights for individual column headers |
|
|
798
854
|
*
|
|
855
|
+
* This option can only be set at the [grid level](@/guides/getting-started/configuration-options/configuration-options.md#set-grid-options).
|
|
856
|
+
* It has no effect when set in the [`columns`](#columns), [`cells`](#cells), or [`cell`](#cell) options.
|
|
857
|
+
*
|
|
799
858
|
* @memberof Options#
|
|
800
859
|
* @type {number|number[]}
|
|
801
860
|
* @default undefined
|
|
@@ -829,6 +888,9 @@ const _default = ()=>{
|
|
|
829
888
|
* - [`maxCols`](#maxCols)
|
|
830
889
|
* - [`data`](#data)
|
|
831
890
|
*
|
|
891
|
+
* This option can only be set at the [grid level](@/guides/getting-started/configuration-options/configuration-options.md#set-grid-options).
|
|
892
|
+
* It has no effect when set in the [`columns`](#columns), [`cells`](#cells), or [`cell`](#cell) options.
|
|
893
|
+
*
|
|
832
894
|
* @memberof Options#
|
|
833
895
|
* @type {object[]|Function}
|
|
834
896
|
* @default undefined
|
|
@@ -963,6 +1025,9 @@ const _default = ()=>{
|
|
|
963
1025
|
* - [Column summary](@/guides/columns/column-summary/column-summary.md)
|
|
964
1026
|
* - [Plugins: `ColumnSummary`](@/api/columnSummary.md)
|
|
965
1027
|
*
|
|
1028
|
+
* This option can only be set at the [grid level](@/guides/getting-started/configuration-options/configuration-options.md#set-grid-options).
|
|
1029
|
+
* It has no effect when set in the [`columns`](#columns), [`cells`](#cells), or [`cell`](#cell) options.
|
|
1030
|
+
*
|
|
966
1031
|
* @memberof Options#
|
|
967
1032
|
* @type {object[]|Function}
|
|
968
1033
|
* @default undefined
|
|
@@ -1014,6 +1079,9 @@ const _default = ()=>{
|
|
|
1014
1079
|
* - [Hooks: `modifyColWidth`](@/api/hooks.md#modifyColWidth)
|
|
1015
1080
|
* - [`autoColumnSize`](#autoColumnSize)
|
|
1016
1081
|
*
|
|
1082
|
+
* This option can only be set at the [grid level](@/guides/getting-started/configuration-options/configuration-options.md#set-grid-options).
|
|
1083
|
+
* It has no effect when set in the [`columns`](#columns), [`cells`](#cells), or [`cell`](#cell) options.
|
|
1084
|
+
*
|
|
1017
1085
|
* @memberof Options#
|
|
1018
1086
|
* @type {number|number[]|string|string[]|Array<undefined>|Function}
|
|
1019
1087
|
* @default undefined
|
|
@@ -1097,6 +1165,9 @@ const _default = ()=>{
|
|
|
1097
1165
|
* - [`readOnly`](#readOnly)
|
|
1098
1166
|
* - [`commentedCellClassName`](#commentedCellClassName)
|
|
1099
1167
|
*
|
|
1168
|
+
* This option can only be set at the [grid level](@/guides/getting-started/configuration-options/configuration-options.md#set-grid-options).
|
|
1169
|
+
* It has no effect when set in the [`columns`](#columns), [`cells`](#cells), or [`cell`](#cell) options.
|
|
1170
|
+
*
|
|
1100
1171
|
* @memberof Options#
|
|
1101
1172
|
* @type {boolean|object[]}
|
|
1102
1173
|
* @default false
|
|
@@ -1142,6 +1213,9 @@ const _default = ()=>{
|
|
|
1142
1213
|
* - [Context menu: Context menu with fully custom configuration options](@/guides/accessories-and-menus/context-menu/context-menu.md#context-menu-with-a-fully-custom-configuration)
|
|
1143
1214
|
* - [Plugins: `ContextMenu`](@/api/contextMenu.md)
|
|
1144
1215
|
*
|
|
1216
|
+
* This option can only be set at the [grid level](@/guides/getting-started/configuration-options/configuration-options.md#set-grid-options).
|
|
1217
|
+
* It has no effect when set in the [`columns`](#columns), [`cells`](#cells), or [`cell`](#cell) options.
|
|
1218
|
+
*
|
|
1145
1219
|
* @memberof Options#
|
|
1146
1220
|
* @type {boolean|string[]|object}
|
|
1147
1221
|
* @default undefined
|
|
@@ -1261,6 +1335,9 @@ const _default = ()=>{
|
|
|
1261
1335
|
* - [Plugins: `CopyPaste`](@/api/copyPaste.md)
|
|
1262
1336
|
* - [Guides: Clipboard](@/guides/cell-features/clipboard/clipboard.md)
|
|
1263
1337
|
*
|
|
1338
|
+
* This option can only be set at the [grid level](@/guides/getting-started/configuration-options/configuration-options.md#set-grid-options).
|
|
1339
|
+
* It has no effect when set in the [`columns`](#columns), [`cells`](#cells), or [`cell`](#cell) options.
|
|
1340
|
+
*
|
|
1264
1341
|
* @memberof Options#
|
|
1265
1342
|
* @type {object|boolean}
|
|
1266
1343
|
* @default true
|
|
@@ -1315,6 +1392,9 @@ const _default = ()=>{
|
|
|
1315
1392
|
* - [`TableClassName`](#TableClassName)
|
|
1316
1393
|
* - [`className`](#className)
|
|
1317
1394
|
*
|
|
1395
|
+
* This option can only be set at the [grid level](@/guides/getting-started/configuration-options/configuration-options.md#set-grid-options).
|
|
1396
|
+
* It has no effect when set in the [`columns`](#columns), [`cells`](#cells), or [`cell`](#cell) options.
|
|
1397
|
+
*
|
|
1318
1398
|
* @memberof Options#
|
|
1319
1399
|
* @type {string}
|
|
1320
1400
|
* @default undefined
|
|
@@ -1342,6 +1422,9 @@ const _default = ()=>{
|
|
|
1342
1422
|
* - [`TableClassName`](#TableClassName)
|
|
1343
1423
|
* - [`className`](#className)
|
|
1344
1424
|
*
|
|
1425
|
+
* This option can only be set at the [grid level](@/guides/getting-started/configuration-options/configuration-options.md#set-grid-options).
|
|
1426
|
+
* It has no effect when set in the [`columns`](#columns), [`cells`](#cells), or [`cell`](#cell) options.
|
|
1427
|
+
*
|
|
1345
1428
|
* @memberof Options#
|
|
1346
1429
|
* @type {string}
|
|
1347
1430
|
* @default 'ht__highlight'
|
|
@@ -1370,6 +1453,9 @@ const _default = ()=>{
|
|
|
1370
1453
|
* - [`TableClassName`](#TableClassName)
|
|
1371
1454
|
* - [`className`](#className)
|
|
1372
1455
|
*
|
|
1456
|
+
* This option can only be set at the [grid level](@/guides/getting-started/configuration-options/configuration-options.md#set-grid-options).
|
|
1457
|
+
* It has no effect when set in the [`columns`](#columns), [`cells`](#cells), or [`cell`](#cell) options.
|
|
1458
|
+
*
|
|
1373
1459
|
* @memberof Options#
|
|
1374
1460
|
* @type {string}
|
|
1375
1461
|
* @default undefined
|
|
@@ -1424,6 +1510,9 @@ const _default = ()=>{
|
|
|
1424
1510
|
* - [Layout direction](@/guides/internationalization/layout-direction/layout-direction.md)
|
|
1425
1511
|
* - [`layoutDirection`](#layoutDirection)
|
|
1426
1512
|
*
|
|
1513
|
+
* This option can only be set at the [grid level](@/guides/getting-started/configuration-options/configuration-options.md#set-grid-options).
|
|
1514
|
+
* It has no effect when set in the [`columns`](#columns), [`cells`](#cells), or [`cell`](#cell) options.
|
|
1515
|
+
*
|
|
1427
1516
|
* @memberof Options#
|
|
1428
1517
|
* @type {boolean|object[]}
|
|
1429
1518
|
* @default false
|
|
@@ -1497,6 +1586,38 @@ const _default = ()=>{
|
|
|
1497
1586
|
*/ customBorders: false,
|
|
1498
1587
|
/**
|
|
1499
1588
|
* @description
|
|
1589
|
+
* The `customBordersProgressive` option controls how a large [`customBorders`](#customborders)
|
|
1590
|
+
* configuration is applied at initialization.
|
|
1591
|
+
*
|
|
1592
|
+
* By default (`false`), all custom borders are built synchronously before the first render, which
|
|
1593
|
+
* can block the initial paint when the configuration contains a very large number of borders.
|
|
1594
|
+
*
|
|
1595
|
+
* Set it to `true` to apply the borders in background batches after the grid has rendered: the
|
|
1596
|
+
* grid becomes interactive immediately and the borders fill in progressively. Pass an object to
|
|
1597
|
+
* tune the batch size, for example `{ chunkSize: 5000 }`.
|
|
1598
|
+
*
|
|
1599
|
+
* When enabled, [`getBorders()`](@/api/customBorders.md#getborders) and the borders' cell meta
|
|
1600
|
+
* are populated incrementally, so they may be incomplete until the
|
|
1601
|
+
* [`afterCustomBordersUpdate`](@/api/hooks.md#aftercustombordersupdate) hook fires.
|
|
1602
|
+
*
|
|
1603
|
+
* @since 18.1.0
|
|
1604
|
+
* @memberof Options#
|
|
1605
|
+
* @type {boolean|object}
|
|
1606
|
+
* @default false
|
|
1607
|
+
* @category CustomBorders
|
|
1608
|
+
*
|
|
1609
|
+
* @example
|
|
1610
|
+
* ```js
|
|
1611
|
+
* // apply a large custom-borders config in background batches
|
|
1612
|
+
* customBorders: [ / * ...many borders... * / ],
|
|
1613
|
+
* customBordersProgressive: true,
|
|
1614
|
+
*
|
|
1615
|
+
* // tune the batch size
|
|
1616
|
+
* customBordersProgressive: { chunkSize: 5000 },
|
|
1617
|
+
* ```
|
|
1618
|
+
*/ customBordersProgressive: false,
|
|
1619
|
+
/**
|
|
1620
|
+
* @description
|
|
1500
1621
|
* The `data` option sets the initial [data](@/guides/getting-started/binding-to-data/binding-to-data.md) of your Handsontable instance.
|
|
1501
1622
|
*
|
|
1502
1623
|
* Handsontable's data is bound to your source data by reference (i.e. when you edit Handsontable's data, your source data alters as well).
|
|
@@ -1517,6 +1638,9 @@ const _default = ()=>{
|
|
|
1517
1638
|
* - [`startRows`](#startRows)
|
|
1518
1639
|
* - [`startCols`](#startCols)
|
|
1519
1640
|
*
|
|
1641
|
+
* This option can only be set at the [grid level](@/guides/getting-started/configuration-options/configuration-options.md#set-grid-options).
|
|
1642
|
+
* It has no effect when set in the [`columns`](#columns), [`cells`](#cells), or [`cell`](#cell) options.
|
|
1643
|
+
*
|
|
1520
1644
|
* @memberof Options#
|
|
1521
1645
|
* @type {Array[]|object[]}
|
|
1522
1646
|
* @default undefined
|
|
@@ -1555,6 +1679,9 @@ const _default = ()=>{
|
|
|
1555
1679
|
* map cleanly to your backend. Pair with **`pagination`** for server-side paging.
|
|
1556
1680
|
* Valid cell edits apply at once; if **`onRowsUpdate`** fails or **`beforeRowsMutation`** blocks the update, affected cells roll back.
|
|
1557
1681
|
*
|
|
1682
|
+
* This option can only be set at the [grid level](@/guides/getting-started/configuration-options/configuration-options.md#set-grid-options).
|
|
1683
|
+
* It has no effect when set in the [`columns`](#columns), [`cells`](#cells), or [`cell`](#cell) options.
|
|
1684
|
+
*
|
|
1558
1685
|
* @since 17.1.0
|
|
1559
1686
|
* @memberof Options#
|
|
1560
1687
|
* @type {object}
|
|
@@ -1592,6 +1719,9 @@ const _default = ()=>{
|
|
|
1592
1719
|
*
|
|
1593
1720
|
* The option only works when defined in the global table settings.
|
|
1594
1721
|
*
|
|
1722
|
+
* This option can only be set at the [grid level](@/guides/getting-started/configuration-options/configuration-options.md#set-grid-options).
|
|
1723
|
+
* It has no effect when set in the [`columns`](#columns), [`cells`](#cells), or [`cell`](#cell) options.
|
|
1724
|
+
*
|
|
1595
1725
|
* @since 14.4.0
|
|
1596
1726
|
* @memberof Options#
|
|
1597
1727
|
* @type {boolean}
|
|
@@ -1638,6 +1768,9 @@ const _default = ()=>{
|
|
|
1638
1768
|
* - [Binding to data: Function data source and schema](@/guides/getting-started/binding-to-data/binding-to-data.md#function-data-source-and-schema)
|
|
1639
1769
|
* - [`data`](#data)
|
|
1640
1770
|
*
|
|
1771
|
+
* This option can only be set at the [grid level](@/guides/getting-started/configuration-options/configuration-options.md#set-grid-options).
|
|
1772
|
+
* It has no effect when set in the [`columns`](#columns), [`cells`](#cells), or [`cell`](#cell) options.
|
|
1773
|
+
*
|
|
1641
1774
|
* @memberof Options#
|
|
1642
1775
|
* @type {object|Function}
|
|
1643
1776
|
* @default undefined
|
|
@@ -1670,6 +1803,11 @@ const _default = ()=>{
|
|
|
1670
1803
|
* Source data must be in ISO 8601 date format (`YYYY-MM-DD`). Otherwise operations such
|
|
1671
1804
|
* as sorting and filtering can be unstable or unpredictable. The `dateFormat` object affects only how dates are
|
|
1672
1805
|
* displayed; the underlying value should remain ISO.
|
|
1806
|
+
*
|
|
1807
|
+
* Time-related options (`hour`, `minute`, `second`, `timeStyle`, `hour12`, `hourCycle`,
|
|
1808
|
+
* `fractionalSecondDigits`) only affect display and always render midnight (`00:00:00`) for
|
|
1809
|
+
* `date`/`intl-date` cells, because their source data is date-only. For editable date *and*
|
|
1810
|
+
* time values, use the [`intl-datetime` cell type](@/guides/cell-types/datetime-cell-type/datetime-cell-type.md).
|
|
1673
1811
|
* :::
|
|
1674
1812
|
*
|
|
1675
1813
|
* **Style shortcuts:**
|
|
@@ -1800,6 +1938,53 @@ const _default = ()=>{
|
|
|
1800
1938
|
minute: '2-digit'
|
|
1801
1939
|
},
|
|
1802
1940
|
/**
|
|
1941
|
+
* Configures the date-time format for `intl-datetime` cells using an
|
|
1942
|
+
* [`Intl.DateTimeFormat`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat/DateTimeFormat)
|
|
1943
|
+
* options object. The locale is controlled separately via the [`locale`](@/api/options.md#locale) option.
|
|
1944
|
+
*
|
|
1945
|
+
* ::: tip Source data format
|
|
1946
|
+
* Source data must be in ISO 8601 date-time format (`YYYY-MM-DDTHH:mm:ss`; a date-only
|
|
1947
|
+
* `YYYY-MM-DD` value is treated as midnight). Otherwise operations such as sorting and filtering
|
|
1948
|
+
* can be unstable or unpredictable. The `dateTimeFormat` object affects only how values are
|
|
1949
|
+
* displayed; the underlying value should remain ISO.
|
|
1950
|
+
* :::
|
|
1951
|
+
*
|
|
1952
|
+
* For the full list of supported properties, see
|
|
1953
|
+
* [MDN: Intl.DateTimeFormat](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat/DateTimeFormat).
|
|
1954
|
+
*
|
|
1955
|
+
* Read more:
|
|
1956
|
+
* - [Date-time cell type](@/guides/cell-types/datetime-cell-type/datetime-cell-type.md)
|
|
1957
|
+
* - [`locale`](@/api/options.md#locale)
|
|
1958
|
+
*
|
|
1959
|
+
* @since 18.1.0
|
|
1960
|
+
* @memberof Options#
|
|
1961
|
+
* @type {object}
|
|
1962
|
+
* @default { year: 'numeric', month: '2-digit', day: '2-digit', hour: '2-digit', minute: '2-digit', second: '2-digit', hour12: false }
|
|
1963
|
+
* @category Core
|
|
1964
|
+
*
|
|
1965
|
+
* @example
|
|
1966
|
+
* ```js
|
|
1967
|
+
* columns: [
|
|
1968
|
+
* {
|
|
1969
|
+
* type: 'intl-datetime',
|
|
1970
|
+
* locale: 'en-US',
|
|
1971
|
+
* dateTimeFormat: {
|
|
1972
|
+
* dateStyle: 'medium',
|
|
1973
|
+
* timeStyle: 'short'
|
|
1974
|
+
* }
|
|
1975
|
+
* }
|
|
1976
|
+
* ]
|
|
1977
|
+
* ```
|
|
1978
|
+
*/ dateTimeFormat: {
|
|
1979
|
+
year: 'numeric',
|
|
1980
|
+
month: '2-digit',
|
|
1981
|
+
day: '2-digit',
|
|
1982
|
+
hour: '2-digit',
|
|
1983
|
+
minute: '2-digit',
|
|
1984
|
+
second: '2-digit',
|
|
1985
|
+
hour12: false
|
|
1986
|
+
},
|
|
1987
|
+
/**
|
|
1803
1988
|
* The `defaultDate` option configures the date pre-selected in the date picker editor
|
|
1804
1989
|
* when opening an empty [`date`](@/guides/cell-types/date-cell-type/date-cell-type.md) cell for editing.
|
|
1805
1990
|
*
|
|
@@ -1849,9 +2034,6 @@ const _default = ()=>{
|
|
|
1849
2034
|
* | `'header'` | - Show single-cell selection<br>- Show range selection<br>- Don't show header selection |
|
|
1850
2035
|
* | An array | A combination of `'current'`, `'area'`, and/or `'header'` |
|
|
1851
2036
|
*
|
|
1852
|
-
* This option can only be set at the [grid level](@/guides/getting-started/configuration-options/configuration-options.md#set-grid-options).
|
|
1853
|
-
* It has no effect when set in the [`columns`](#columns), [`cells`](#cells), or [`cell`](#cell) options.
|
|
1854
|
-
*
|
|
1855
2037
|
* When set to any non-`false` value, the second-click deselect behavior
|
|
1856
2038
|
* (Ctrl/Cmd+click on an already-selected cell removing it from a multi-cell selection)
|
|
1857
2039
|
* is also skipped. Without visible feedback, toggling layers off can cause unexpected
|
|
@@ -1921,6 +2103,9 @@ const _default = ()=>{
|
|
|
1921
2103
|
* Read more:
|
|
1922
2104
|
* - [Plugins: `Dialog`](@/api/dialog.md)
|
|
1923
2105
|
*
|
|
2106
|
+
* This option can only be set at the [grid level](@/guides/getting-started/configuration-options/configuration-options.md#set-grid-options).
|
|
2107
|
+
* It has no effect when set in the [`columns`](#columns), [`cells`](#cells), or [`cell`](#cell) options.
|
|
2108
|
+
*
|
|
1924
2109
|
* @since 16.1.0
|
|
1925
2110
|
* @memberof Options#
|
|
1926
2111
|
* @type {boolean|object}
|
|
@@ -2077,6 +2262,9 @@ const _default = ()=>{
|
|
|
2077
2262
|
* Read more:
|
|
2078
2263
|
* - [Plugins: `DragToScroll`](@/api/dragToScroll.md)
|
|
2079
2264
|
*
|
|
2265
|
+
* This option can only be set at the [grid level](@/guides/getting-started/configuration-options/configuration-options.md#set-grid-options).
|
|
2266
|
+
* It has no effect when set in the [`columns`](#columns), [`cells`](#cells), or [`cell`](#cell) options.
|
|
2267
|
+
*
|
|
2080
2268
|
* @memberof Options#
|
|
2081
2269
|
* @type {boolean|object}
|
|
2082
2270
|
* @default true
|
|
@@ -2184,10 +2372,18 @@ const _default = ()=>{
|
|
|
2184
2372
|
* You'll still be able to change cells' content through Handsontable's API
|
|
2185
2373
|
* or through plugins (e.g. [`CopyPaste`](@/api/copyPaste.md)), though.
|
|
2186
2374
|
*
|
|
2375
|
+
* When the `editor` option is set to `false`, you can still use these keyboard shortcuts:
|
|
2376
|
+
*
|
|
2377
|
+
* | Shortcut | Action |
|
|
2378
|
+
* | --------------------------------------- | ----------------------------------------------------------- |
|
|
2379
|
+
* | `Delete` / `Backspace` | Clear the contents of the selected cells |
|
|
2380
|
+
* | `Ctrl` + `Enter` / `Cmd` + `Enter` | Fill selected cells with the value of the active cell |
|
|
2381
|
+
*
|
|
2187
2382
|
* To set the [`editor`](#editor), [`renderer`](#renderer), and [`validator`](#validator)
|
|
2188
2383
|
* options all at once, use the [`type`](#type) option.
|
|
2189
2384
|
*
|
|
2190
2385
|
* Read more:
|
|
2386
|
+
* - [Keyboard shortcuts](@/guides/navigation/keyboard-shortcuts/keyboard-shortcuts.md)
|
|
2191
2387
|
* - [Cell editor](@/guides/cell-functions/cell-editor/cell-editor.md)
|
|
2192
2388
|
* - [Cell type](@/guides/cell-types/cell-type/cell-type.md)
|
|
2193
2389
|
* - [Configuration options: Cascading configuration](@/guides/getting-started/configuration-options/configuration-options.md#cascading-configuration)
|
|
@@ -2260,6 +2456,9 @@ const _default = ()=>{
|
|
|
2260
2456
|
* Read more:
|
|
2261
2457
|
* - [Plugins: `EmptyDataState`](@/api/emptyDataState.md)
|
|
2262
2458
|
*
|
|
2459
|
+
* This option can only be set at the [grid level](@/guides/getting-started/configuration-options/configuration-options.md#set-grid-options).
|
|
2460
|
+
* It has no effect when set in the [`columns`](#columns), [`cells`](#cells), or [`cell`](#cell) options.
|
|
2461
|
+
*
|
|
2263
2462
|
* @since 16.2.0
|
|
2264
2463
|
* @memberof Options#
|
|
2265
2464
|
* @type {boolean|object}
|
|
@@ -2323,6 +2522,9 @@ const _default = ()=>{
|
|
|
2323
2522
|
* Read more:
|
|
2324
2523
|
* - [`enterMoves`](#enterMoves)
|
|
2325
2524
|
*
|
|
2525
|
+
* This option can only be set at the [grid level](@/guides/getting-started/configuration-options/configuration-options.md#set-grid-options).
|
|
2526
|
+
* It has no effect when set in the [`columns`](#columns), [`cells`](#cells), or [`cell`](#cell) options.
|
|
2527
|
+
*
|
|
2326
2528
|
* @memberof Options#
|
|
2327
2529
|
* @type {boolean}
|
|
2328
2530
|
* @default true
|
|
@@ -2380,6 +2582,9 @@ const _default = ()=>{
|
|
|
2380
2582
|
* Read more:
|
|
2381
2583
|
* - [`enterBeginsEditing`](#enterBeginsEditing)
|
|
2382
2584
|
*
|
|
2585
|
+
* This option can only be set at the [grid level](@/guides/getting-started/configuration-options/configuration-options.md#set-grid-options).
|
|
2586
|
+
* It has no effect when set in the [`columns`](#columns), [`cells`](#cells), or [`cell`](#cell) options.
|
|
2587
|
+
*
|
|
2383
2588
|
* @memberof Options#
|
|
2384
2589
|
* @type {object|Function}
|
|
2385
2590
|
* @default {col: 0, row: 1}
|
|
@@ -2461,6 +2666,9 @@ const _default = ()=>{
|
|
|
2461
2666
|
* Read more:
|
|
2462
2667
|
* - [AutoFill values](@/guides/cell-features/autofill-values/autofill-values.md)
|
|
2463
2668
|
*
|
|
2669
|
+
* This option can only be set at the [grid level](@/guides/getting-started/configuration-options/configuration-options.md#set-grid-options).
|
|
2670
|
+
* It has no effect when set in the [`columns`](#columns), [`cells`](#cells), or [`cell`](#cell) options.
|
|
2671
|
+
*
|
|
2464
2672
|
* @memberof Options#
|
|
2465
2673
|
* @type {boolean|string|object}
|
|
2466
2674
|
* @default true
|
|
@@ -2523,10 +2731,9 @@ const _default = ()=>{
|
|
|
2523
2731
|
* // set the `type` of each cell in this column to `autocomplete`
|
|
2524
2732
|
* type: 'autocomplete',
|
|
2525
2733
|
* // set options available in every `autocomplete` cell of this column
|
|
2526
|
-
* source: ['
|
|
2527
|
-
* // when the end user types in `
|
|
2528
|
-
* // when the end user types in `
|
|
2529
|
-
* // when the end user types in `C`, display only the C option
|
|
2734
|
+
* source: ['Apple', 'Apricot', 'Avocado', 'Banana', 'Blueberry'],
|
|
2735
|
+
* // when the end user types in `a`, display options that contain `a`
|
|
2736
|
+
* // when the end user types in `ap`, display only `Apple` and `Apricot`
|
|
2530
2737
|
* filter: true
|
|
2531
2738
|
* }],
|
|
2532
2739
|
* ```
|
|
@@ -2594,6 +2801,9 @@ const _default = ()=>{
|
|
|
2594
2801
|
* - [Plugins: `Filters`](@/api/filters.md)
|
|
2595
2802
|
* - [`dropdownMenu`](#dropdownMenu)
|
|
2596
2803
|
*
|
|
2804
|
+
* This option can only be set at the [grid level](@/guides/getting-started/configuration-options/configuration-options.md#set-grid-options).
|
|
2805
|
+
* It has no effect when set in the [`columns`](#columns), [`cells`](#cells), or [`cell`](#cell) options.
|
|
2806
|
+
*
|
|
2597
2807
|
* @memberof Options#
|
|
2598
2808
|
* @type {boolean}
|
|
2599
2809
|
* @default undefined
|
|
@@ -2633,6 +2843,9 @@ const _default = ()=>{
|
|
|
2633
2843
|
* Read more:
|
|
2634
2844
|
* - [`fixedColumnsStart`](#fixedcolumnsstart)
|
|
2635
2845
|
*
|
|
2846
|
+
* This option can only be set at the [grid level](@/guides/getting-started/configuration-options/configuration-options.md#set-grid-options).
|
|
2847
|
+
* It has no effect when set in the [`columns`](#columns), [`cells`](#cells), or [`cell`](#cell) options.
|
|
2848
|
+
*
|
|
2636
2849
|
* @memberof Options#
|
|
2637
2850
|
* @type {number}
|
|
2638
2851
|
* @default 0
|
|
@@ -2655,6 +2868,9 @@ const _default = ()=>{
|
|
|
2655
2868
|
* - [`fixedColumnsLeft`](#fixedcolumnsleft)
|
|
2656
2869
|
* - [`layoutDirection`](#layoutDirection)
|
|
2657
2870
|
*
|
|
2871
|
+
* This option can only be set at the [grid level](@/guides/getting-started/configuration-options/configuration-options.md#set-grid-options).
|
|
2872
|
+
* It has no effect when set in the [`columns`](#columns), [`cells`](#cells), or [`cell`](#cell) options.
|
|
2873
|
+
*
|
|
2658
2874
|
* @memberof Options#
|
|
2659
2875
|
* @type {number}
|
|
2660
2876
|
* @default 0
|
|
@@ -2695,6 +2911,9 @@ const _default = ()=>{
|
|
|
2695
2911
|
* - [Row freezing](@/guides/rows/row-freezing/row-freezing.md)
|
|
2696
2912
|
* - [`height`](#height)
|
|
2697
2913
|
*
|
|
2914
|
+
* This option can only be set at the [grid level](@/guides/getting-started/configuration-options/configuration-options.md#set-grid-options).
|
|
2915
|
+
* It has no effect when set in the [`columns`](#columns), [`cells`](#cells), or [`cell`](#cell) options.
|
|
2916
|
+
*
|
|
2698
2917
|
* @memberof Options#
|
|
2699
2918
|
* @type {number}
|
|
2700
2919
|
* @default 0
|
|
@@ -2719,6 +2938,9 @@ const _default = ()=>{
|
|
|
2719
2938
|
* - [Row freezing](@/guides/rows/row-freezing/row-freezing.md)
|
|
2720
2939
|
* - [`height`](#height)
|
|
2721
2940
|
*
|
|
2941
|
+
* This option can only be set at the [grid level](@/guides/getting-started/configuration-options/configuration-options.md#set-grid-options).
|
|
2942
|
+
* It has no effect when set in the [`columns`](#columns), [`cells`](#cells), or [`cell`](#cell) options.
|
|
2943
|
+
*
|
|
2722
2944
|
* @memberof Options#
|
|
2723
2945
|
* @type {number}
|
|
2724
2946
|
* @default 0
|
|
@@ -2744,6 +2966,17 @@ const _default = ()=>{
|
|
|
2744
2966
|
* | `engine` | `HyperFormula` \|<br>A [HyperFormula](https://handsontable.github.io/hyperformula/) instance \|<br>A [HyperFormula configuration](https://handsontable.github.io/hyperformula/api/interfaces/configparams.html) object |
|
|
2745
2967
|
* | `sheetId` | A number |
|
|
2746
2968
|
* | `sheetName` | A string |
|
|
2969
|
+
* | `language` | A [HyperFormula language pack](https://handsontable.github.io/hyperformula/guide/localizing-functions.html), imported from `hyperformula/es/i18n/languages` |
|
|
2970
|
+
* | `hyperlinks` | `true` \|<br>`false` (default) |
|
|
2971
|
+
*
|
|
2972
|
+
* Set `hyperlinks` to `true` to render a cell whose formula is `HYPERLINK()` as a link. The cell
|
|
2973
|
+
* keeps its own renderer, and the link label is the value the formula returns. Only a cell whose
|
|
2974
|
+
* root expression is `HYPERLINK()` becomes a link, so a nested call such as
|
|
2975
|
+
* `=CONCATENATE("see ", HYPERLINK("https://example.com"))` renders as plain text.
|
|
2976
|
+
*
|
|
2977
|
+
* A link is created only for the `http`, `https`, `mailto` and `tel` schemes. Any other scheme,
|
|
2978
|
+
* `javascript:` included, renders the label as plain text instead. Press
|
|
2979
|
+
* <kbd>**Alt**</kbd>+<kbd>**Enter**</kbd> to open the link of the selected cell.
|
|
2747
2980
|
*
|
|
2748
2981
|
* Read more:
|
|
2749
2982
|
* - [Plugins: `Formulas`](@/api/formulas.md)
|
|
@@ -2751,6 +2984,9 @@ const _default = ()=>{
|
|
|
2751
2984
|
* - [HyperFormula documentation: Client-side installation](https://handsontable.github.io/hyperformula/guide/client-side-installation)
|
|
2752
2985
|
* - [HyperFormula documentation: Configuration options](https://handsontable.github.io/hyperformula/api/interfaces/configparams.html)
|
|
2753
2986
|
*
|
|
2987
|
+
* This option can only be set at the [grid level](@/guides/getting-started/configuration-options/configuration-options.md#set-grid-options).
|
|
2988
|
+
* It has no effect when set in the [`columns`](#columns), [`cells`](#cells), or [`cell`](#cell) options.
|
|
2989
|
+
*
|
|
2754
2990
|
* @memberof Options#
|
|
2755
2991
|
* @type {object}
|
|
2756
2992
|
* @default undefined
|
|
@@ -2766,6 +3002,12 @@ const _default = ()=>{
|
|
|
2766
3002
|
* sheetName: 'Sheet 1'
|
|
2767
3003
|
* }
|
|
2768
3004
|
*
|
|
3005
|
+
* // or, render `HYPERLINK()` formulas as links
|
|
3006
|
+
* formulas: {
|
|
3007
|
+
* engine: HyperFormula,
|
|
3008
|
+
* hyperlinks: true
|
|
3009
|
+
* }
|
|
3010
|
+
*
|
|
2769
3011
|
* // or, add a HyperFormula instance
|
|
2770
3012
|
* // initialized with the `'internal-use-in-handsontable'` license key
|
|
2771
3013
|
* const hyperformulaInstance = HyperFormula.buildEmpty({
|
|
@@ -2806,6 +3048,22 @@ const _default = ()=>{
|
|
|
2806
3048
|
* sheetId: 1,
|
|
2807
3049
|
* sheetName: 'Sheet 1'
|
|
2808
3050
|
* }
|
|
3051
|
+
*
|
|
3052
|
+
* // set a language pack for the built-in function names and formula syntax
|
|
3053
|
+
* import plPL from 'hyperformula/es/i18n/languages/plPL';
|
|
3054
|
+
*
|
|
3055
|
+
* formulas: {
|
|
3056
|
+
* engine: HyperFormula,
|
|
3057
|
+
* sheetName: 'Sheet 1',
|
|
3058
|
+
* language: plPL
|
|
3059
|
+
* }
|
|
3060
|
+
*
|
|
3061
|
+
* // update the language at runtime
|
|
3062
|
+
* hot.updateSettings({
|
|
3063
|
+
* formulas: {
|
|
3064
|
+
* language: plPL
|
|
3065
|
+
* }
|
|
3066
|
+
* });
|
|
2809
3067
|
* ```
|
|
2810
3068
|
*/ formulas: undefined,
|
|
2811
3069
|
/**
|
|
@@ -2819,6 +3077,14 @@ const _default = ()=>{
|
|
|
2819
3077
|
* | `true` | Enable text selection in multiple cells at a time |
|
|
2820
3078
|
* | `'cell'` | Enable text selection in one cell at a time |
|
|
2821
3079
|
*
|
|
3080
|
+
* With `fragmentSelection: true`, copying text across multiple cells requires a
|
|
3081
|
+
* [`selectionMode`](@/api/options.md#selectionmode) that allows selecting more than one cell.
|
|
3082
|
+
* When [`selectionMode`](@/api/options.md#selectionmode) is set to `'single'`, copying is
|
|
3083
|
+
* limited to a single cell.
|
|
3084
|
+
*
|
|
3085
|
+
* This option can only be set at the [grid level](@/guides/getting-started/configuration-options/configuration-options.md#set-grid-options).
|
|
3086
|
+
* It has no effect when set in the [`columns`](#columns), [`cells`](#cells), or [`cell`](#cell) options.
|
|
3087
|
+
*
|
|
2822
3088
|
* @memberof Options#
|
|
2823
3089
|
* @type {boolean|string}
|
|
2824
3090
|
* @default false
|
|
@@ -2958,6 +3224,9 @@ const _default = ()=>{
|
|
|
2958
3224
|
* Read more:
|
|
2959
3225
|
* - [Grid size](@/guides/getting-started/grid-size/grid-size.md)
|
|
2960
3226
|
*
|
|
3227
|
+
* This option can only be set at the [grid level](@/guides/getting-started/configuration-options/configuration-options.md#set-grid-options).
|
|
3228
|
+
* It has no effect when set in the [`columns`](#columns), [`cells`](#cells), or [`cell`](#cell) options.
|
|
3229
|
+
*
|
|
2961
3230
|
* @memberof Options#
|
|
2962
3231
|
* @type {number|'auto'|string|Function}
|
|
2963
3232
|
* @default undefined
|
|
@@ -3003,6 +3272,9 @@ const _default = ()=>{
|
|
|
3003
3272
|
* - [Plugins: `HiddenColumns`](@/api/hiddenColumns.md)
|
|
3004
3273
|
* - [Column hiding](@/guides/columns/column-hiding/column-hiding.md)
|
|
3005
3274
|
*
|
|
3275
|
+
* This option can only be set at the [grid level](@/guides/getting-started/configuration-options/configuration-options.md#set-grid-options).
|
|
3276
|
+
* It has no effect when set in the [`columns`](#columns), [`cells`](#cells), or [`cell`](#cell) options.
|
|
3277
|
+
*
|
|
3006
3278
|
* @memberof Options#
|
|
3007
3279
|
* @type {boolean|object}
|
|
3008
3280
|
* @default undefined
|
|
@@ -3047,6 +3319,9 @@ const _default = ()=>{
|
|
|
3047
3319
|
* - [Plugins: `HiddenRows`](@/api/hiddenRows.md)
|
|
3048
3320
|
* - [Row hiding](@/guides/rows/row-hiding/row-hiding.md)
|
|
3049
3321
|
*
|
|
3322
|
+
* This option can only be set at the [grid level](@/guides/getting-started/configuration-options/configuration-options.md#set-grid-options).
|
|
3323
|
+
* It has no effect when set in the [`columns`](#columns), [`cells`](#cells), or [`cell`](#cell) options.
|
|
3324
|
+
*
|
|
3050
3325
|
* @memberof Options#
|
|
3051
3326
|
* @type {boolean|object}
|
|
3052
3327
|
* @default undefined
|
|
@@ -3075,6 +3350,9 @@ const _default = ()=>{
|
|
|
3075
3350
|
* Note: The `initialState` option is ignored when passed to the
|
|
3076
3351
|
* [`updateSettings()`](@/api/core.md#updatesettings) method.
|
|
3077
3352
|
*
|
|
3353
|
+
* This option can only be set at the [grid level](@/guides/getting-started/configuration-options/configuration-options.md#set-grid-options).
|
|
3354
|
+
* It has no effect when set in the [`columns`](#columns), [`cells`](#cells), or [`cell`](#cell) options.
|
|
3355
|
+
*
|
|
3078
3356
|
* @since 16.1.0
|
|
3079
3357
|
* @memberof Options#
|
|
3080
3358
|
* @type {object | undefined}
|
|
@@ -3123,6 +3401,9 @@ const _default = ()=>{
|
|
|
3123
3401
|
*
|
|
3124
3402
|
* Enabling this option can make a negative impact on how some screen readers handle reading the table cells.
|
|
3125
3403
|
*
|
|
3404
|
+
* This option can only be set at the [grid level](@/guides/getting-started/configuration-options/configuration-options.md#set-grid-options).
|
|
3405
|
+
* It has no effect when set in the [`columns`](#columns), [`cells`](#cells), or [`cell`](#cell) options.
|
|
3406
|
+
*
|
|
3126
3407
|
* @since 14.0.0
|
|
3127
3408
|
* @memberof Options#
|
|
3128
3409
|
* @type {boolean}
|
|
@@ -3330,6 +3611,9 @@ const _default = ()=>{
|
|
|
3330
3611
|
* - [`fixedColumnsStart`](#fixedcolumnsstart)
|
|
3331
3612
|
* - [`customBorders`](#customBorders)
|
|
3332
3613
|
*
|
|
3614
|
+
* This option can only be set at the [grid level](@/guides/getting-started/configuration-options/configuration-options.md#set-grid-options).
|
|
3615
|
+
* It has no effect when set in the [`columns`](#columns), [`cells`](#cells), or [`cell`](#cell) options.
|
|
3616
|
+
*
|
|
3333
3617
|
* @memberof Options#
|
|
3334
3618
|
* @type {string}
|
|
3335
3619
|
* @default 'inherit'
|
|
@@ -3358,6 +3642,9 @@ const _default = ()=>{
|
|
|
3358
3642
|
* modal layer, such as the dialog) are not orderable through this option. The license
|
|
3359
3643
|
* notification is not orderable either; it always renders last in the `bottom` slot.
|
|
3360
3644
|
*
|
|
3645
|
+
* This option can only be set at the [grid level](@/guides/getting-started/configuration-options/configuration-options.md#set-grid-options).
|
|
3646
|
+
* It has no effect when set in the [`columns`](#columns), [`cells`](#cells), or [`cell`](#cell) options.
|
|
3647
|
+
*
|
|
3361
3648
|
* @since 18.0.0
|
|
3362
3649
|
* @memberof Options#
|
|
3363
3650
|
* @type {object}
|
|
@@ -3380,11 +3667,15 @@ const _default = ()=>{
|
|
|
3380
3667
|
* | Setting | Description |
|
|
3381
3668
|
* | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- |
|
|
3382
3669
|
* | A string with your [commercial license key](@/guides/getting-started/license-key/license-key.md#commercial-license) | For [commercial use](@/guides/technical-specification/software-license/software-license.md#commercial-use) |
|
|
3670
|
+
* | A string with your [entitlement license key](@/guides/getting-started/license-key/license-key.md#entitlement-license-keys) (plain-English text ending with a `[...]` block) | For trial, subscription, or perpetual use |
|
|
3383
3671
|
* | `'non-commercial-and-evaluation'` | For [non-commercial use](@/guides/technical-specification/software-license/software-license.md#non-commercial-use) |
|
|
3384
3672
|
*
|
|
3385
3673
|
* Read more:
|
|
3386
3674
|
* - [License key](@/guides/getting-started/license-key/license-key.md)
|
|
3387
3675
|
*
|
|
3676
|
+
* This option can only be set at the [grid level](@/guides/getting-started/configuration-options/configuration-options.md#set-grid-options).
|
|
3677
|
+
* It has no effect when set in the [`columns`](#columns), [`cells`](#cells), or [`cell`](#cell) options.
|
|
3678
|
+
*
|
|
3388
3679
|
* @memberof Options#
|
|
3389
3680
|
* @type {string}
|
|
3390
3681
|
* @default undefined
|
|
@@ -3392,9 +3683,13 @@ const _default = ()=>{
|
|
|
3392
3683
|
*
|
|
3393
3684
|
* @example
|
|
3394
3685
|
* ```js
|
|
3395
|
-
* // for commercial use
|
|
3686
|
+
* // for commercial use (legacy 25-character format)
|
|
3396
3687
|
* licenseKey: 'xxxxx-xxxxx-xxxxx-xxxxx-xxxxx', // your commercial license key
|
|
3397
3688
|
*
|
|
3689
|
+
* // for an entitlement license key (trial, subscription, or perpetual),
|
|
3690
|
+
* // pass the whole key string exactly as you received it
|
|
3691
|
+
* licenseKey: 'This is a Handsontable license key for Acme Corp, ... [eyJwcm9kdWN0cyI6...3a4f8361]',
|
|
3692
|
+
*
|
|
3398
3693
|
* // for non-commercial use
|
|
3399
3694
|
* licenseKey: 'non-commercial-and-evaluation',
|
|
3400
3695
|
* ```
|
|
@@ -3458,6 +3753,10 @@ const _default = ()=>{
|
|
|
3458
3753
|
*
|
|
3459
3754
|
* Read more:
|
|
3460
3755
|
* - [Plugins: `Loading`](@/api/loading.md)
|
|
3756
|
+
*
|
|
3757
|
+
* This option can only be set at the [grid level](@/guides/getting-started/configuration-options/configuration-options.md#set-grid-options).
|
|
3758
|
+
* It has no effect when set in the [`columns`](#columns), [`cells`](#cells), or [`cell`](#cell) options.
|
|
3759
|
+
*
|
|
3461
3760
|
* @since 16.1.0
|
|
3462
3761
|
* @memberof Options#
|
|
3463
3762
|
* @type {boolean|object}
|
|
@@ -3499,6 +3798,9 @@ const _default = ()=>{
|
|
|
3499
3798
|
* Read more:
|
|
3500
3799
|
* - [Plugins: `Notification`](@/api/notification.md)
|
|
3501
3800
|
*
|
|
3801
|
+
* This option can only be set at the [grid level](@/guides/getting-started/configuration-options/configuration-options.md#set-grid-options).
|
|
3802
|
+
* It has no effect when set in the [`columns`](#columns), [`cells`](#cells), or [`cell`](#cell) options.
|
|
3803
|
+
*
|
|
3502
3804
|
* @since 17.1.0
|
|
3503
3805
|
* @memberof Options#
|
|
3504
3806
|
* @type {boolean|object}
|
|
@@ -3523,6 +3825,9 @@ const _default = ()=>{
|
|
|
3523
3825
|
* Read more:
|
|
3524
3826
|
* - [Column freezing](@/guides/columns/column-freezing/column-freezing.md#user-triggered-freeze)
|
|
3525
3827
|
*
|
|
3828
|
+
* This option can only be set at the [grid level](@/guides/getting-started/configuration-options/configuration-options.md#set-grid-options).
|
|
3829
|
+
* It has no effect when set in the [`columns`](#columns), [`cells`](#cells), or [`cell`](#cell) options.
|
|
3830
|
+
*
|
|
3526
3831
|
* @memberof Options#
|
|
3527
3832
|
* @type {boolean}
|
|
3528
3833
|
* @default undefined
|
|
@@ -3548,6 +3853,9 @@ const _default = ()=>{
|
|
|
3548
3853
|
* Read more:
|
|
3549
3854
|
* - [Column moving](@/guides/columns/column-moving/column-moving.md)
|
|
3550
3855
|
*
|
|
3856
|
+
* This option can only be set at the [grid level](@/guides/getting-started/configuration-options/configuration-options.md#set-grid-options).
|
|
3857
|
+
* It has no effect when set in the [`columns`](#columns), [`cells`](#cells), or [`cell`](#cell) options.
|
|
3858
|
+
*
|
|
3551
3859
|
* @memberof Options#
|
|
3552
3860
|
* @type {boolean|number[]}
|
|
3553
3861
|
* @default undefined
|
|
@@ -3579,6 +3887,13 @@ const _default = ()=>{
|
|
|
3579
3887
|
*
|
|
3580
3888
|
* Read more:
|
|
3581
3889
|
* - [Column width: Column stretching](@/guides/columns/column-width/column-width.md#column-stretching)
|
|
3890
|
+
* - [Column width: Column stretching and manual resizing](@/guides/columns/column-width/column-width.md#column-stretching-and-manual-resizing)
|
|
3891
|
+
*
|
|
3892
|
+
* When you set initial widths through the array form, those columns are excluded from
|
|
3893
|
+
* [`stretchH`](#stretchh) redistribution. Only the columns without a pre-defined width are stretched.
|
|
3894
|
+
*
|
|
3895
|
+
* This option can only be set at the [grid level](@/guides/getting-started/configuration-options/configuration-options.md#set-grid-options).
|
|
3896
|
+
* It has no effect when set in the [`columns`](#columns), [`cells`](#cells), or [`cell`](#cell) options.
|
|
3582
3897
|
*
|
|
3583
3898
|
* @memberof Options#
|
|
3584
3899
|
* @type {boolean|number[]}
|
|
@@ -3612,6 +3927,9 @@ const _default = ()=>{
|
|
|
3612
3927
|
* Read more:
|
|
3613
3928
|
* - [Row moving](@/guides/rows/row-moving/row-moving.md)
|
|
3614
3929
|
*
|
|
3930
|
+
* This option can only be set at the [grid level](@/guides/getting-started/configuration-options/configuration-options.md#set-grid-options).
|
|
3931
|
+
* It has no effect when set in the [`columns`](#columns), [`cells`](#cells), or [`cell`](#cell) options.
|
|
3932
|
+
*
|
|
3615
3933
|
* @memberof Options#
|
|
3616
3934
|
* @type {boolean|number[]}
|
|
3617
3935
|
* @default undefined
|
|
@@ -3644,6 +3962,9 @@ const _default = ()=>{
|
|
|
3644
3962
|
* Read more:
|
|
3645
3963
|
* - [Row height: Adjust the row height manually](@/guides/rows/row-height/row-height.md#adjust-the-row-height-manually)
|
|
3646
3964
|
*
|
|
3965
|
+
* This option can only be set at the [grid level](@/guides/getting-started/configuration-options/configuration-options.md#set-grid-options).
|
|
3966
|
+
* It has no effect when set in the [`columns`](#columns), [`cells`](#cells), or [`cell`](#cell) options.
|
|
3967
|
+
*
|
|
3647
3968
|
* @memberof Options#
|
|
3648
3969
|
* @type {boolean|number[]}
|
|
3649
3970
|
* @default undefined
|
|
@@ -3669,6 +3990,9 @@ const _default = ()=>{
|
|
|
3669
3990
|
* Handsontable trims columns from the right.
|
|
3670
3991
|
* - At runtime: for example, when inserting columns.
|
|
3671
3992
|
*
|
|
3993
|
+
* This option can only be set at the [grid level](@/guides/getting-started/configuration-options/configuration-options.md#set-grid-options).
|
|
3994
|
+
* It has no effect when set in the [`columns`](#columns), [`cells`](#cells), or [`cell`](#cell) options.
|
|
3995
|
+
*
|
|
3672
3996
|
* @memberof Options#
|
|
3673
3997
|
* @type {number}
|
|
3674
3998
|
* @default Infinity
|
|
@@ -3688,6 +4012,9 @@ const _default = ()=>{
|
|
|
3688
4012
|
* Handsontable trims rows from the bottom.
|
|
3689
4013
|
* - At runtime: for example, when inserting rows.
|
|
3690
4014
|
*
|
|
4015
|
+
* This option can only be set at the [grid level](@/guides/getting-started/configuration-options/configuration-options.md#set-grid-options).
|
|
4016
|
+
* It has no effect when set in the [`columns`](#columns), [`cells`](#cells), or [`cell`](#cell) options.
|
|
4017
|
+
*
|
|
3691
4018
|
* @memberof Options#
|
|
3692
4019
|
* @type {number}
|
|
3693
4020
|
* @default Infinity
|
|
@@ -3737,8 +4064,8 @@ const _default = ()=>{
|
|
|
3737
4064
|
*
|
|
3738
4065
|
* | Property | Description |
|
|
3739
4066
|
* | --------- | ---------------------------------------------------------- |
|
|
3740
|
-
* | `row` | The row index of the merged section's beginning
|
|
3741
|
-
* | `col` | The column index of the merged section's beginning
|
|
4067
|
+
* | `row` | The visual row index of the merged section's beginning |
|
|
4068
|
+
* | `col` | The visual column index of the merged section's beginning |
|
|
3742
4069
|
* | `rowspan` | The width (as a number of rows) of the merged section |
|
|
3743
4070
|
* | `colspan` | The height (as a number of columns ) of the merged section |
|
|
3744
4071
|
*
|
|
@@ -3799,6 +4126,9 @@ const _default = ()=>{
|
|
|
3799
4126
|
* - The [`dataSchema`](#dataSchema) option
|
|
3800
4127
|
* - The [`columns`](#columns) option
|
|
3801
4128
|
*
|
|
4129
|
+
* This option can only be set at the [grid level](@/guides/getting-started/configuration-options/configuration-options.md#set-grid-options).
|
|
4130
|
+
* It has no effect when set in the [`columns`](#columns), [`cells`](#cells), or [`cell`](#cell) options.
|
|
4131
|
+
*
|
|
3802
4132
|
* @memberof Options#
|
|
3803
4133
|
* @type {number}
|
|
3804
4134
|
* @default 0
|
|
@@ -3815,6 +4145,9 @@ const _default = ()=>{
|
|
|
3815
4145
|
*
|
|
3816
4146
|
* See the [`rowHeights`](#rowHeights) option description for more information.
|
|
3817
4147
|
*
|
|
4148
|
+
* This option can only be set at the [grid level](@/guides/getting-started/configuration-options/configuration-options.md#set-grid-options).
|
|
4149
|
+
* It has no effect when set in the [`columns`](#columns), [`cells`](#cells), or [`cell`](#cell) options.
|
|
4150
|
+
*
|
|
3818
4151
|
* @since 16.2.0
|
|
3819
4152
|
* @memberof Options#
|
|
3820
4153
|
* @type {number|number[]|string|string[]|Array<undefined>|Function}
|
|
@@ -3848,6 +4181,9 @@ const _default = ()=>{
|
|
|
3848
4181
|
* Handsontable adds empty rows at the bottom.
|
|
3849
4182
|
* - At runtime: for example, when removing rows.
|
|
3850
4183
|
*
|
|
4184
|
+
* This option can only be set at the [grid level](@/guides/getting-started/configuration-options/configuration-options.md#set-grid-options).
|
|
4185
|
+
* It has no effect when set in the [`columns`](#columns), [`cells`](#cells), or [`cell`](#cell) options.
|
|
4186
|
+
*
|
|
3851
4187
|
* @memberof Options#
|
|
3852
4188
|
* @type {number}
|
|
3853
4189
|
* @default 0
|
|
@@ -3875,6 +4211,9 @@ const _default = ()=>{
|
|
|
3875
4211
|
* - The [`dataSchema`](#dataSchema) option
|
|
3876
4212
|
* - The [`columns`](#columns) option
|
|
3877
4213
|
*
|
|
4214
|
+
* This option can only be set at the [grid level](@/guides/getting-started/configuration-options/configuration-options.md#set-grid-options).
|
|
4215
|
+
* It has no effect when set in the [`columns`](#columns), [`cells`](#cells), or [`cell`](#cell) options.
|
|
4216
|
+
*
|
|
3878
4217
|
* @memberof Options#
|
|
3879
4218
|
* @type {number}
|
|
3880
4219
|
* @default 0
|
|
@@ -3895,6 +4234,9 @@ const _default = ()=>{
|
|
|
3895
4234
|
*
|
|
3896
4235
|
* The total number of rows can't exceed the [`maxRows`](#maxRows) value.
|
|
3897
4236
|
*
|
|
4237
|
+
* This option can only be set at the [grid level](@/guides/getting-started/configuration-options/configuration-options.md#set-grid-options).
|
|
4238
|
+
* It has no effect when set in the [`columns`](#columns), [`cells`](#cells), or [`cell`](#cell) options.
|
|
4239
|
+
*
|
|
3898
4240
|
* @memberof Options#
|
|
3899
4241
|
* @type {number}
|
|
3900
4242
|
* @default 0
|
|
@@ -3981,6 +4323,9 @@ const _default = ()=>{
|
|
|
3981
4323
|
/**
|
|
3982
4324
|
* When set to `true`, the `navigableHeaders` option lets you navigate [row headers](@/guides/rows/row-header/row-header.md) and [column headers](@/guides/columns/column-header/column-header.md), using the arrow keys or the <kbd>**Tab**</kbd> key (if the [`tabNavigation`](#tabNavigation) option is set to `true`).
|
|
3983
4325
|
*
|
|
4326
|
+
* This option can only be set at the [grid level](@/guides/getting-started/configuration-options/configuration-options.md#set-grid-options).
|
|
4327
|
+
* It has no effect when set in the [`columns`](#columns), [`cells`](#cells), or [`cell`](#cell) options.
|
|
4328
|
+
*
|
|
3984
4329
|
* @since 14.0.0
|
|
3985
4330
|
* @memberof Options#
|
|
3986
4331
|
* @type {boolean}
|
|
@@ -4002,6 +4347,9 @@ const _default = ()=>{
|
|
|
4002
4347
|
* no more captures that shortcuts to make the grid navigation available (`tabNavigation: true`)
|
|
4003
4348
|
* but returns control to the browser so the native page navigation is possible.
|
|
4004
4349
|
*
|
|
4350
|
+
* This option can only be set at the [grid level](@/guides/getting-started/configuration-options/configuration-options.md#set-grid-options).
|
|
4351
|
+
* It has no effect when set in the [`columns`](#columns), [`cells`](#cells), or [`cell`](#cell) options.
|
|
4352
|
+
*
|
|
4005
4353
|
* @since 14.0.0
|
|
4006
4354
|
* @memberof Options#
|
|
4007
4355
|
* @type {boolean}
|
|
@@ -4048,6 +4396,7 @@ const _default = ()=>{
|
|
|
4048
4396
|
* | `rowspan` | `number` | The number of header rows the header spans (an integer greater than `1`). |
|
|
4049
4397
|
* | `headerClassName` | `string` | One or more space-separated CSS class names added to the header element (for example, `'htRight'`). |
|
|
4050
4398
|
* | `visibleWhen` | `string` | For a header inside a collapsible group, sets in which collapse state the header (and its columns) stays visible: `'collapsed'` (visible only while the group is collapsed), `'expanded'` (visible only while the group is expanded), or `'always'` (visible in both states). When omitted, a header in such a group defaults to `'expanded'` - it is hidden when the group collapses. At least one column of a group always stays visible. |
|
|
4399
|
+
* | `columnDropMode` | `string` | Controls what a group does when a column move (with the [`ManualColumnMove`](#manualcolumnmove) plugin) drops a foreign column (one belonging to another group) into its span. With `'adopt'` (default), the group adopts that column as a child and stays one banner. With `'split'`, the group keeps its identity and renders as several same-label banners around the foreign column (it splits). A group always reclaims its own columns when they move back into its span, regardless of this setting. Meaningful only on a header that spans columns. |
|
|
4051
4400
|
*
|
|
4052
4401
|
* ::: tip
|
|
4053
4402
|
* A header group is made collapsible through the [`collapsibleColumns`](#collapsibleColumns) option, not through
|
|
@@ -4065,6 +4414,9 @@ const _default = ()=>{
|
|
|
4065
4414
|
* - [Column groups: Nested headers](@/guides/columns/column-groups/column-groups.md#nested-headers)
|
|
4066
4415
|
* - [Column groups: Choose which columns stay visible when collapsed](@/guides/columns/column-groups/column-groups.md#choose-which-columns-stay-visible-when-collapsed)
|
|
4067
4416
|
*
|
|
4417
|
+
* This option can only be set at the [grid level](@/guides/getting-started/configuration-options/configuration-options.md#set-grid-options).
|
|
4418
|
+
* It has no effect when set in the [`columns`](#columns), [`cells`](#cells), or [`cell`](#cell) options.
|
|
4419
|
+
*
|
|
4068
4420
|
* @memberof Options#
|
|
4069
4421
|
* @type {boolean|Array[]}
|
|
4070
4422
|
* @default undefined
|
|
@@ -4102,6 +4454,9 @@ const _default = ()=>{
|
|
|
4102
4454
|
* Read more:
|
|
4103
4455
|
* - [Plugins: `NestedRows`](@/guides/rows/row-parent-child/row-parent-child.md)
|
|
4104
4456
|
*
|
|
4457
|
+
* This option can only be set at the [grid level](@/guides/getting-started/configuration-options/configuration-options.md#set-grid-options).
|
|
4458
|
+
* It has no effect when set in the [`columns`](#columns), [`cells`](#cells), or [`cell`](#cell) options.
|
|
4459
|
+
*
|
|
4105
4460
|
* @example
|
|
4106
4461
|
* ```js
|
|
4107
4462
|
* // enable the `NestedRows` plugin
|
|
@@ -4233,6 +4588,47 @@ const _default = ()=>{
|
|
|
4233
4588
|
* ```
|
|
4234
4589
|
*/ numericFormat: undefined,
|
|
4235
4590
|
/**
|
|
4591
|
+
* Controls whether a [`numeric`](@/guides/cell-types/numeric-cell-type/numeric-cell-type.md)
|
|
4592
|
+
* cell keeps the exact text you typed when converting it to a JavaScript number would lose
|
|
4593
|
+
* information.
|
|
4594
|
+
*
|
|
4595
|
+
* By default (`false`), a numeric cell always stores the parsed JavaScript number, so a value
|
|
4596
|
+
* like `9.0` is stored as `9` and the editor shows `9` the next time you open it. Numbers whose
|
|
4597
|
+
* magnitude exceeds the safe-integer limit (`9007199254740991`) also lose precision.
|
|
4598
|
+
*
|
|
4599
|
+
* When set to `true`, and only when parsing would be lossy, the cell keeps the original literal
|
|
4600
|
+
* string instead of the number. This preserves trailing decimal zeros (`9.0`, `9.50`) and the
|
|
4601
|
+
* full precision of large numbers in the cell editor, matching spreadsheet software. Values
|
|
4602
|
+
* that convert without loss (for example `9`, `9.5`, `1000`) are still stored as numbers, so
|
|
4603
|
+
* sorting, filtering, and formula calculations are unaffected. A preserved literal also keeps
|
|
4604
|
+
* behaving like a number in those features: column sorting and filter conditions compare it
|
|
4605
|
+
* numerically, and the [`Formulas`](@/api/formulas.md) engine parses the literal as a number,
|
|
4606
|
+
* so functions such as `SUM` still include the cell. The cell renderer still formats
|
|
4607
|
+
* the value according to [`numericFormat`](@/api/options.md#numericformat); only the editor
|
|
4608
|
+
* shows the preserved literal. One exception: the filter menu's "Filter by value" checkbox
|
|
4609
|
+
* list compares values strictly, so a preserved literal (`'9.0'`) and its plain number (`9`)
|
|
4610
|
+
* appear as two separate entries.
|
|
4611
|
+
*
|
|
4612
|
+
* The default is `false` so existing configurations keep their current behavior.
|
|
4613
|
+
*
|
|
4614
|
+
* @memberof Options#
|
|
4615
|
+
* @since 18.1.0
|
|
4616
|
+
* @type {boolean}
|
|
4617
|
+
* @default false
|
|
4618
|
+
* @category Core
|
|
4619
|
+
*
|
|
4620
|
+
* @example
|
|
4621
|
+
* ```js
|
|
4622
|
+
* columns: [
|
|
4623
|
+
* {
|
|
4624
|
+
* type: 'numeric',
|
|
4625
|
+
* // keep `9.0` and very large numbers as typed in the editor
|
|
4626
|
+
* preserveNumericLiteral: true,
|
|
4627
|
+
* }
|
|
4628
|
+
* ],
|
|
4629
|
+
* ```
|
|
4630
|
+
*/ preserveNumericLiteral: false,
|
|
4631
|
+
/**
|
|
4236
4632
|
* If the `observeDOMVisibility` option is set to `true`,
|
|
4237
4633
|
* Handsontable rerenders every time it detects that the grid was made visible in the DOM.
|
|
4238
4634
|
*
|
|
@@ -4241,6 +4637,9 @@ const _default = ()=>{
|
|
|
4241
4637
|
* Handsontable automatically triggers a rerender to ensure correct layout and dimensions.
|
|
4242
4638
|
* Set this option to `false` if you want to control rendering manually (e.g. by calling `render()` yourself).
|
|
4243
4639
|
*
|
|
4640
|
+
* This option can only be set at the [grid level](@/guides/getting-started/configuration-options/configuration-options.md#set-grid-options).
|
|
4641
|
+
* It has no effect when set in the [`columns`](#columns), [`cells`](#cells), or [`cell`](#cell) options.
|
|
4642
|
+
*
|
|
4244
4643
|
* @memberof Options#
|
|
4245
4644
|
* @type {boolean}
|
|
4246
4645
|
* @default true
|
|
@@ -4264,6 +4663,9 @@ const _default = ()=>{
|
|
|
4264
4663
|
* | `false` | On a mouse click outside of the grid, keep the current [selection](@/guides/cell-features/selection/selection.md) |
|
|
4265
4664
|
* | A function | A function that takes the click event target and returns a boolean |
|
|
4266
4665
|
*
|
|
4666
|
+
* This option can only be set at the [grid level](@/guides/getting-started/configuration-options/configuration-options.md#set-grid-options).
|
|
4667
|
+
* It has no effect when set in the [`columns`](#columns), [`cells`](#cells), or [`cell`](#cell) options.
|
|
4668
|
+
*
|
|
4267
4669
|
* @memberof Options#
|
|
4268
4670
|
* @type {boolean|Function}
|
|
4269
4671
|
* @default true
|
|
@@ -4317,6 +4719,9 @@ const _default = ()=>{
|
|
|
4317
4719
|
* - [Rows pagination](@/guides/rows/rows-pagination/rows-pagination.md)
|
|
4318
4720
|
* - [Plugins: `Pagination`](@/api/pagination.md)
|
|
4319
4721
|
*
|
|
4722
|
+
* This option can only be set at the [grid level](@/guides/getting-started/configuration-options/configuration-options.md#set-grid-options).
|
|
4723
|
+
* It has no effect when set in the [`columns`](#columns), [`cells`](#cells), or [`cell`](#cell) options.
|
|
4724
|
+
*
|
|
4320
4725
|
* @since 16.1.0
|
|
4321
4726
|
* @memberof Options#
|
|
4322
4727
|
* @type {boolean}
|
|
@@ -4410,6 +4815,9 @@ const _default = ()=>{
|
|
|
4410
4815
|
* | `'horizontal'` | Prevent horizontal overflowing |
|
|
4411
4816
|
* | `'vertical'` | Prevent vertical overflowing |
|
|
4412
4817
|
*
|
|
4818
|
+
* This option can only be set at the [grid level](@/guides/getting-started/configuration-options/configuration-options.md#set-grid-options).
|
|
4819
|
+
* It has no effect when set in the [`columns`](#columns), [`cells`](#cells), or [`cell`](#cell) options.
|
|
4820
|
+
*
|
|
4413
4821
|
* @memberof Options#
|
|
4414
4822
|
* @type {string|boolean}
|
|
4415
4823
|
* @default false
|
|
@@ -4446,9 +4854,9 @@ const _default = ()=>{
|
|
|
4446
4854
|
*/ preventWheel: false,
|
|
4447
4855
|
/**
|
|
4448
4856
|
* @description
|
|
4449
|
-
* The `readOnly` option determines whether a [cell](@/guides/cell-features/
|
|
4450
|
-
* [comment](@/guides/cell-features/comments/comments.md#make-a-comment-read-only), [column](@/guides/cell-features/
|
|
4451
|
-
* or the [entire grid](@/guides/cell-features/
|
|
4857
|
+
* The `readOnly` option determines whether a [cell](@/guides/cell-features/read-only-cells/read-only-cells.md#make-specific-cells-read-only),
|
|
4858
|
+
* [comment](@/guides/cell-features/comments/comments.md#make-a-comment-read-only), [column](@/guides/cell-features/read-only-cells/read-only-cells.md#make-a-column-read-only)
|
|
4859
|
+
* or the [entire grid](@/guides/cell-features/read-only-cells/read-only-cells.md#make-the-grid-read-only) is editable or not. You can configure it as follows:
|
|
4452
4860
|
*
|
|
4453
4861
|
* | Setting | Description |
|
|
4454
4862
|
* | ----------------- | ------------------------------------------------------------------------------------------------------------------------- |
|
|
@@ -4458,7 +4866,7 @@ const _default = ()=>{
|
|
|
4458
4866
|
* `readOnly` cells can't be changed by the [`populateFromArray()`](@/api/core.md#populatefromarray) method.
|
|
4459
4867
|
*
|
|
4460
4868
|
* Read more:
|
|
4461
|
-
* - [
|
|
4869
|
+
* - [Read-only cells](@/guides/cell-features/read-only-cells/read-only-cells.md)
|
|
4462
4870
|
* - [Configuration options: Cascading configuration](@/guides/getting-started/configuration-options/configuration-options.md#cascading-configuration)
|
|
4463
4871
|
*
|
|
4464
4872
|
* @memberof Options#
|
|
@@ -4536,6 +4944,9 @@ const _default = ()=>{
|
|
|
4536
4944
|
* Read more:
|
|
4537
4945
|
* - [Row virtualization](@/guides/rows/row-virtualization/row-virtualization.md)
|
|
4538
4946
|
*
|
|
4947
|
+
* This option can only be set at the [grid level](@/guides/getting-started/configuration-options/configuration-options.md#set-grid-options).
|
|
4948
|
+
* It has no effect when set in the [`columns`](#columns), [`cells`](#cells), or [`cell`](#cell) options.
|
|
4949
|
+
*
|
|
4539
4950
|
* @memberof Options#
|
|
4540
4951
|
* @type {boolean}
|
|
4541
4952
|
* @default false
|
|
@@ -4562,6 +4973,9 @@ const _default = ()=>{
|
|
|
4562
4973
|
* Read more:
|
|
4563
4974
|
* - [Column virtualization](@/guides/columns/column-virtualization/column-virtualization.md)
|
|
4564
4975
|
*
|
|
4976
|
+
* This option can only be set at the [grid level](@/guides/getting-started/configuration-options/configuration-options.md#set-grid-options).
|
|
4977
|
+
* It has no effect when set in the [`columns`](#columns), [`cells`](#cells), or [`cell`](#cell) options.
|
|
4978
|
+
*
|
|
4565
4979
|
* @since 14.1.0
|
|
4566
4980
|
* @memberof Options#
|
|
4567
4981
|
* @type {boolean}
|
|
@@ -4808,6 +5222,9 @@ const _default = ()=>{
|
|
|
4808
5222
|
* Read more:
|
|
4809
5223
|
* - [Row header](@/guides/rows/row-header/row-header.md)
|
|
4810
5224
|
*
|
|
5225
|
+
* This option can only be set at the [grid level](@/guides/getting-started/configuration-options/configuration-options.md#set-grid-options).
|
|
5226
|
+
* It has no effect when set in the [`columns`](#columns), [`cells`](#cells), or [`cell`](#cell) options.
|
|
5227
|
+
*
|
|
4811
5228
|
* @memberof Options#
|
|
4812
5229
|
* @type {boolean|string[]|Function}
|
|
4813
5230
|
* @default undefined
|
|
@@ -4838,6 +5255,9 @@ const _default = ()=>{
|
|
|
4838
5255
|
* | A number | Set the same width for every row header |
|
|
4839
5256
|
* | An array | Set different widths for individual row headers |
|
|
4840
5257
|
*
|
|
5258
|
+
* This option can only be set at the [grid level](@/guides/getting-started/configuration-options/configuration-options.md#set-grid-options).
|
|
5259
|
+
* It has no effect when set in the [`columns`](#columns), [`cells`](#cells), or [`cell`](#cell) options.
|
|
5260
|
+
*
|
|
4841
5261
|
* @memberof Options#
|
|
4842
5262
|
* @type {number|number[]}
|
|
4843
5263
|
* @default undefined
|
|
@@ -4872,6 +5292,9 @@ const _default = ()=>{
|
|
|
4872
5292
|
* Read more:
|
|
4873
5293
|
* - [Row height](@/guides/rows/row-height/row-height.md)
|
|
4874
5294
|
*
|
|
5295
|
+
* This option can only be set at the [grid level](@/guides/getting-started/configuration-options/configuration-options.md#set-grid-options).
|
|
5296
|
+
* It has no effect when set in the [`columns`](#columns), [`cells`](#cells), or [`cell`](#cell) options.
|
|
5297
|
+
*
|
|
4875
5298
|
* @memberof Options#
|
|
4876
5299
|
* @type {number|number[]|string|string[]|Array<undefined>|Function}
|
|
4877
5300
|
* @default undefined
|
|
@@ -5003,9 +5426,15 @@ const _default = ()=>{
|
|
|
5003
5426
|
* | `'range'` | Allow the user to select one range of cells at a time. |
|
|
5004
5427
|
* | `'multiple'` | Allow the user to select multiple ranges of cells at a time. |
|
|
5005
5428
|
*
|
|
5429
|
+
* When `selectionMode` is set to `'single'`, copying with
|
|
5430
|
+
* [`fragmentSelection`](@/api/options.md#fragmentselection) enabled is limited to a single cell.
|
|
5431
|
+
*
|
|
5006
5432
|
* Read more:
|
|
5007
5433
|
* - [Selection: Selecting ranges](@/guides/cell-features/selection/selection.md#select-ranges)
|
|
5008
5434
|
*
|
|
5435
|
+
* This option can only be set at the [grid level](@/guides/getting-started/configuration-options/configuration-options.md#set-grid-options).
|
|
5436
|
+
* It has no effect when set in the [`columns`](#columns), [`cells`](#cells), or [`cell`](#cell) options.
|
|
5437
|
+
*
|
|
5009
5438
|
* @memberof Options#
|
|
5010
5439
|
* @type {string}
|
|
5011
5440
|
* @default 'multiple'
|
|
@@ -5024,6 +5453,61 @@ const _default = ()=>{
|
|
|
5024
5453
|
* ```
|
|
5025
5454
|
*/ selectionMode: 'multiple',
|
|
5026
5455
|
/**
|
|
5456
|
+
* The `selectionHandles` option enables draggable handles on the edges of a
|
|
5457
|
+
* [selection](@/guides/cell-features/selection/selection.md). When enabled, hovering over a
|
|
5458
|
+
* selected range shows a pill-shaped handle at the midpoint of each edge; dragging a handle
|
|
5459
|
+
* resizes that edge of the selection. This adjusts the selected area only – it does not move,
|
|
5460
|
+
* fill, or change any cell data.
|
|
5461
|
+
*
|
|
5462
|
+
* Handles are shown on desktop only and are hidden on any edge that is flush with the grid
|
|
5463
|
+
* boundary -- or that lands on a frozen-pane line ([`fixedRowsTop`](#fixedrowstop),
|
|
5464
|
+
* [`fixedRowsBottom`](#fixedrowsbottom), [`fixedColumnsStart`](#fixedcolumnsstart)). The option
|
|
5465
|
+
* has no effect when [`selectionMode`](#selectionmode) is `'single'`.
|
|
5466
|
+
*
|
|
5467
|
+
* This option can only be set at the [grid level](@/guides/getting-started/configuration-options/configuration-options.md#set-grid-options).
|
|
5468
|
+
*
|
|
5469
|
+
* @since 18.1.0
|
|
5470
|
+
* @memberof Options#
|
|
5471
|
+
* @type {boolean}
|
|
5472
|
+
* @default false
|
|
5473
|
+
* @category Core
|
|
5474
|
+
*
|
|
5475
|
+
* @example
|
|
5476
|
+
* ```js
|
|
5477
|
+
* // enable draggable selection-edge handles
|
|
5478
|
+
* selectionHandles: true,
|
|
5479
|
+
* ```
|
|
5480
|
+
*/ selectionHandles: false,
|
|
5481
|
+
/**
|
|
5482
|
+
* The `moveCells` option lets you move a [selection](@/guides/cell-features/selection/selection.md) by
|
|
5483
|
+
* dragging its edge. When enabled, hovering the border of a selected cell range shows a grab cursor;
|
|
5484
|
+
* dragging the border moves the block's data (values, the [`className`](#classname) cell meta, and – with the
|
|
5485
|
+
* [`formulas`](@/api/options.md#formulas) plugin – adjusted formula references) to the new location.
|
|
5486
|
+
* Other cell meta (for example [`numericFormat`](#numericformat) or [`readOnly`](#readonly)) stays at the
|
|
5487
|
+
* source cells.
|
|
5488
|
+
* Hold <kbd>Ctrl</kbd>/<kbd>Cmd</kbd> during the drag to copy instead of move.
|
|
5489
|
+
*
|
|
5490
|
+
* The move applies to a single contiguous cell range only. It has no effect on full-row, full-column,
|
|
5491
|
+
* select-all, or multiple selections, the range may span at most 100,000 cells, and the source and
|
|
5492
|
+
* target must stay within the grid. Neither the target nor
|
|
5493
|
+
* the source may overlap read-only cells, because a move has to clear the source — a copy leaves the
|
|
5494
|
+
* source in place, so a read-only source cell blocks a move but not a copy.
|
|
5495
|
+
*
|
|
5496
|
+
* This option can only be set at the [grid level](@/guides/getting-started/configuration-options/configuration-options.md#set-grid-options).
|
|
5497
|
+
*
|
|
5498
|
+
* @since 18.1.0
|
|
5499
|
+
* @memberof Options#
|
|
5500
|
+
* @type {boolean}
|
|
5501
|
+
* @default false
|
|
5502
|
+
* @category Core
|
|
5503
|
+
*
|
|
5504
|
+
* @example
|
|
5505
|
+
* ```js
|
|
5506
|
+
* // enable drag-to-move for selections
|
|
5507
|
+
* moveCells: true,
|
|
5508
|
+
* ```
|
|
5509
|
+
*/ moveCells: false,
|
|
5510
|
+
/**
|
|
5027
5511
|
* The `selectOptions` option configures options that the end user can choose from in [`select`](@/guides/cell-types/select-cell-type/select-cell-type.md) cells.
|
|
5028
5512
|
*
|
|
5029
5513
|
* You can set the `selectOptions` option to one of the following:
|
|
@@ -5276,6 +5760,9 @@ const _default = ()=>{
|
|
|
5276
5760
|
* `startCols` and `minSpareCols`.
|
|
5277
5761
|
* :::
|
|
5278
5762
|
*
|
|
5763
|
+
* This option can only be set at the [grid level](@/guides/getting-started/configuration-options/configuration-options.md#set-grid-options).
|
|
5764
|
+
* It has no effect when set in the [`columns`](#columns), [`cells`](#cells), or [`cell`](#cell) options.
|
|
5765
|
+
*
|
|
5279
5766
|
* @memberof Options#
|
|
5280
5767
|
* @type {number}
|
|
5281
5768
|
* @default 5
|
|
@@ -5299,6 +5786,9 @@ const _default = ()=>{
|
|
|
5299
5786
|
* `startRows` and `minSpareRows`.
|
|
5300
5787
|
* :::
|
|
5301
5788
|
*
|
|
5789
|
+
* This option can only be set at the [grid level](@/guides/getting-started/configuration-options/configuration-options.md#set-grid-options).
|
|
5790
|
+
* It has no effect when set in the [`columns`](#columns), [`cells`](#cells), or [`cell`](#cell) options.
|
|
5791
|
+
*
|
|
5302
5792
|
* @memberof Options#
|
|
5303
5793
|
* @type {number}
|
|
5304
5794
|
* @default 5
|
|
@@ -5325,6 +5815,14 @@ const _default = ()=>{
|
|
|
5325
5815
|
*
|
|
5326
5816
|
* Read more:
|
|
5327
5817
|
* - [Column width: Column stretching](@/guides/columns/column-width/column-width.md#column-stretching)
|
|
5818
|
+
* - [Column width: Column stretching and manual resizing](@/guides/columns/column-width/column-width.md#column-stretching-and-manual-resizing)
|
|
5819
|
+
*
|
|
5820
|
+
* When used with [`manualColumnResize`](#manualcolumnresize), columns that have a width set
|
|
5821
|
+
* through pre-defined manual sizes are excluded from stretching. Only the remaining columns
|
|
5822
|
+
* are stretched to fill the container.
|
|
5823
|
+
*
|
|
5824
|
+
* This option can only be set at the [grid level](@/guides/getting-started/configuration-options/configuration-options.md#set-grid-options).
|
|
5825
|
+
* It has no effect when set in the [`columns`](#columns), [`cells`](#cells), or [`cell`](#cell) options.
|
|
5328
5826
|
*
|
|
5329
5827
|
* @memberof Options#
|
|
5330
5828
|
* @type {string}
|
|
@@ -5397,6 +5895,9 @@ const _default = ()=>{
|
|
|
5397
5895
|
* - [`commentedCellClassName`](#commentedCellClassName)
|
|
5398
5896
|
* - [`className`](#className)
|
|
5399
5897
|
*
|
|
5898
|
+
* This option can only be set at the [grid level](@/guides/getting-started/configuration-options/configuration-options.md#set-grid-options).
|
|
5899
|
+
* It has no effect when set in the [`columns`](#columns), [`cells`](#cells), or [`cell`](#cell) options.
|
|
5900
|
+
*
|
|
5400
5901
|
* @memberof Options#
|
|
5401
5902
|
* @type {string|string[]}
|
|
5402
5903
|
* @default undefined
|
|
@@ -5449,6 +5950,9 @@ const _default = ()=>{
|
|
|
5449
5950
|
* Read more:
|
|
5450
5951
|
* - [Themes](@/guides/styling/themes/themes.md)
|
|
5451
5952
|
*
|
|
5953
|
+
* This option can only be set at the [grid level](@/guides/getting-started/configuration-options/configuration-options.md#set-grid-options).
|
|
5954
|
+
* It has no effect when set in the [`columns`](#columns), [`cells`](#cells), or [`cell`](#cell) options.
|
|
5955
|
+
*
|
|
5452
5956
|
* @memberof Options#
|
|
5453
5957
|
* @type {string|undefined}
|
|
5454
5958
|
* @default undefined
|
|
@@ -5484,6 +5988,9 @@ const _default = ()=>{
|
|
|
5484
5988
|
* - [Themes](@/guides/styling/themes/themes.md)
|
|
5485
5989
|
* - [`themeName`](#themeName)
|
|
5486
5990
|
*
|
|
5991
|
+
* This option can only be set at the [grid level](@/guides/getting-started/configuration-options/configuration-options.md#set-grid-options).
|
|
5992
|
+
* It has no effect when set in the [`columns`](#columns), [`cells`](#cells), or [`cell`](#cell) options.
|
|
5993
|
+
*
|
|
5487
5994
|
* @memberof Options#
|
|
5488
5995
|
* @type {ThemeBuilder|string|undefined}
|
|
5489
5996
|
* @default undefined
|
|
@@ -5527,6 +6034,108 @@ const _default = ()=>{
|
|
|
5527
6034
|
* ```
|
|
5528
6035
|
*/ theme: undefined,
|
|
5529
6036
|
/**
|
|
6037
|
+
* The `colorScheme` option sets the color scheme of the grid without declaring a theme.
|
|
6038
|
+
*
|
|
6039
|
+
* You can set it to one of the following:
|
|
6040
|
+
*
|
|
6041
|
+
* | Setting | Description |
|
|
6042
|
+
* | --------------------- | --------------------------------------------------------------- |
|
|
6043
|
+
* | `undefined` (default) | Use the color scheme of the current theme |
|
|
6044
|
+
* | `'light'` | Always render the light color scheme |
|
|
6045
|
+
* | `'dark'` | Always render the dark color scheme |
|
|
6046
|
+
* | `'auto'` | Follow the color scheme of the operating system |
|
|
6047
|
+
*
|
|
6048
|
+
* The option is a per-instance override. It applies on top of the current theme, so the theme
|
|
6049
|
+
* itself stays unchanged and other grids that use the same theme keep their own color scheme.
|
|
6050
|
+
* You can change it at runtime with [`updateSettings()`](@/api/core.md#updatesettings).
|
|
6051
|
+
*
|
|
6052
|
+
* The option requires the theme engine, so it has no effect when the theme comes from a CSS
|
|
6053
|
+
* class name (the [`theme`](#theme) option set to a string, or an `ht-theme-*` class on the
|
|
6054
|
+
* container element). In that case, use the theme's dark class name instead.
|
|
6055
|
+
*
|
|
6056
|
+
* An unsupported value is ignored with a console warning rather than throwing.
|
|
6057
|
+
*
|
|
6058
|
+
* Read more:
|
|
6059
|
+
* - [Themes](@/guides/styling/themes/themes.md)
|
|
6060
|
+
* - [`density`](#density)
|
|
6061
|
+
* - [`theme`](#theme)
|
|
6062
|
+
*
|
|
6063
|
+
* This option can only be set at the [grid level](@/guides/getting-started/configuration-options/configuration-options.md#set-grid-options).
|
|
6064
|
+
* It has no effect when set in the [`columns`](#columns), [`cells`](#cells), or [`cell`](#cell) options.
|
|
6065
|
+
*
|
|
6066
|
+
* @memberof Options#
|
|
6067
|
+
* @type {string|undefined}
|
|
6068
|
+
* @default undefined
|
|
6069
|
+
* @category Core
|
|
6070
|
+
* @since 18.1.0
|
|
6071
|
+
*
|
|
6072
|
+
* @example
|
|
6073
|
+
* ```js
|
|
6074
|
+
* // Render the grid in dark mode, without declaring a theme
|
|
6075
|
+
* const hot = new Handsontable(container, {
|
|
6076
|
+
* colorScheme: 'dark',
|
|
6077
|
+
* });
|
|
6078
|
+
* ```
|
|
6079
|
+
* @example
|
|
6080
|
+
* ```js
|
|
6081
|
+
* // Switch the color scheme at runtime
|
|
6082
|
+
* hot.updateSettings({
|
|
6083
|
+
* colorScheme: 'auto',
|
|
6084
|
+
* });
|
|
6085
|
+
* ```
|
|
6086
|
+
*/ colorScheme: undefined,
|
|
6087
|
+
/**
|
|
6088
|
+
* The `density` option sets the amount of white space inside the grid without declaring a theme.
|
|
6089
|
+
*
|
|
6090
|
+
* You can set it to one of the following:
|
|
6091
|
+
*
|
|
6092
|
+
* | Setting | Description |
|
|
6093
|
+
* | --------------------- | -------------------------------------------------------- |
|
|
6094
|
+
* | `undefined` (default) | Use the density of the current theme |
|
|
6095
|
+
* | `'default'` | Standard spacing |
|
|
6096
|
+
* | `'compact'` | Tighter spacing, fits more rows on the screen |
|
|
6097
|
+
* | `'comfortable'` | Looser spacing, easier to read and to tap |
|
|
6098
|
+
*
|
|
6099
|
+
* The option is a per-instance override. It applies on top of the current theme, so the theme
|
|
6100
|
+
* itself stays unchanged and other grids that use the same theme keep their own density.
|
|
6101
|
+
* You can change it at runtime with [`updateSettings()`](@/api/core.md#updatesettings).
|
|
6102
|
+
*
|
|
6103
|
+
* The option requires the theme engine, so it has no effect when the theme comes from a CSS
|
|
6104
|
+
* class name (the [`theme`](#theme) option set to a string, or an `ht-theme-*` class on the
|
|
6105
|
+
* container element).
|
|
6106
|
+
*
|
|
6107
|
+
* An unsupported value is ignored with a console warning rather than throwing.
|
|
6108
|
+
*
|
|
6109
|
+
* Read more:
|
|
6110
|
+
* - [Themes](@/guides/styling/themes/themes.md)
|
|
6111
|
+
* - [`colorScheme`](#colorScheme)
|
|
6112
|
+
* - [`theme`](#theme)
|
|
6113
|
+
*
|
|
6114
|
+
* This option can only be set at the [grid level](@/guides/getting-started/configuration-options/configuration-options.md#set-grid-options).
|
|
6115
|
+
* It has no effect when set in the [`columns`](#columns), [`cells`](#cells), or [`cell`](#cell) options.
|
|
6116
|
+
*
|
|
6117
|
+
* @memberof Options#
|
|
6118
|
+
* @type {string|undefined}
|
|
6119
|
+
* @default undefined
|
|
6120
|
+
* @category Core
|
|
6121
|
+
* @since 18.1.0
|
|
6122
|
+
*
|
|
6123
|
+
* @example
|
|
6124
|
+
* ```js
|
|
6125
|
+
* // Render the grid with tighter spacing, without declaring a theme
|
|
6126
|
+
* const hot = new Handsontable(container, {
|
|
6127
|
+
* density: 'compact',
|
|
6128
|
+
* });
|
|
6129
|
+
* ```
|
|
6130
|
+
* @example
|
|
6131
|
+
* ```js
|
|
6132
|
+
* // Change the density at runtime
|
|
6133
|
+
* hot.updateSettings({
|
|
6134
|
+
* density: 'comfortable',
|
|
6135
|
+
* });
|
|
6136
|
+
* ```
|
|
6137
|
+
*/ density: undefined,
|
|
6138
|
+
/**
|
|
5530
6139
|
* The `injectCoreCss` option controls whether Handsontable injects its core CSS into the document.
|
|
5531
6140
|
*
|
|
5532
6141
|
* You can set the `injectCoreCss` option to one of the following:
|
|
@@ -5539,6 +6148,9 @@ const _default = ()=>{
|
|
|
5539
6148
|
* Read more:
|
|
5540
6149
|
* - [Themes](@/guides/styling/themes/themes.md)
|
|
5541
6150
|
*
|
|
6151
|
+
* This option can only be set at the [grid level](@/guides/getting-started/configuration-options/configuration-options.md#set-grid-options).
|
|
6152
|
+
* It has no effect when set in the [`columns`](#columns), [`cells`](#cells), or [`cell`](#cell) options.
|
|
6153
|
+
*
|
|
5542
6154
|
* @memberof Options#
|
|
5543
6155
|
* @type {boolean}
|
|
5544
6156
|
* @default true
|
|
@@ -5565,6 +6177,9 @@ const _default = ()=>{
|
|
|
5565
6177
|
* | `row` | Number | - On pressing <kbd>**Tab**</kbd>, move selection `row` rows down<br>- On pressing <kbd>**Shift**</kbd>+<kbd>**Tab**</kbd>, move selection `row` rows up |
|
|
5566
6178
|
* | `col` | Number | - On pressing <kbd>**Tab**</kbd>, move selection `col` columns right<br>- On pressing <kbd>**Shift**</kbd>+<kbd>**Tab**</kbd>, move selection `col` columns left |
|
|
5567
6179
|
*
|
|
6180
|
+
* This option can only be set at the [grid level](@/guides/getting-started/configuration-options/configuration-options.md#set-grid-options).
|
|
6181
|
+
* It has no effect when set in the [`columns`](#columns), [`cells`](#cells), or [`cell`](#cell) options.
|
|
6182
|
+
*
|
|
5568
6183
|
* @memberof Options#
|
|
5569
6184
|
* @type {object|Function}
|
|
5570
6185
|
* @default {row: 0, col: 1}
|
|
@@ -5593,10 +6208,16 @@ const _default = ()=>{
|
|
|
5593
6208
|
*
|
|
5594
6209
|
* You can set the `title` option to a string.
|
|
5595
6210
|
*
|
|
6211
|
+
* To set the labels of all column headers at once, use the [`colHeaders`](#colheaders) option.
|
|
6212
|
+
*
|
|
5596
6213
|
* Read more:
|
|
5597
6214
|
* - [Column header](@/guides/columns/column-header/column-header.md)
|
|
6215
|
+
* - [`colHeaders`](#colheaders)
|
|
5598
6216
|
* - [`columns`](#columns)
|
|
5599
6217
|
*
|
|
6218
|
+
* This option can only be set at the [`columns`](#columns) level.
|
|
6219
|
+
* It has no effect when set at the grid level, or in the [`cells`](#cells) or [`cell`](#cell) options.
|
|
6220
|
+
*
|
|
5600
6221
|
* @memberof Options#
|
|
5601
6222
|
* @type {string}
|
|
5602
6223
|
* @default undefined
|
|
@@ -5624,14 +6245,14 @@ const _default = ()=>{
|
|
|
5624
6245
|
*
|
|
5625
6246
|
* When set to `true` (default), the list is trimmed to match the width of the edited cell,
|
|
5626
6247
|
* which can truncate long option labels. When set to `false`, the list expands to fit its
|
|
5627
|
-
* longest option
|
|
6248
|
+
* longest option – it can grow wider than the cell, but never narrower.
|
|
5628
6249
|
*
|
|
5629
6250
|
* You can set the `trimDropdown` option to one of the following:
|
|
5630
6251
|
*
|
|
5631
6252
|
* | Setting | Description |
|
|
5632
6253
|
* | ---------------- | ------------------------------------------------------------------------------- |
|
|
5633
6254
|
* | `true` (default) | Make the dropdown/autocomplete list's width the same as the edited cell's width |
|
|
5634
|
-
* | `false` |
|
|
6255
|
+
* | `false` | Expand the list to its content, but keep it at least as wide as the edited cell |
|
|
5635
6256
|
*
|
|
5636
6257
|
* This option can be set at any level of the [cascading configuration](@/guides/getting-started/configuration-options/configuration-options.md#cascading-configuration):
|
|
5637
6258
|
* the [grid level](@/guides/getting-started/configuration-options/configuration-options.md#set-grid-options), the [`columns`](#columns) level, the [`cells`](#cells) level, and the [`cell`](#cell) level.
|
|
@@ -5679,6 +6300,9 @@ const _default = ()=>{
|
|
|
5679
6300
|
* - [Plugins: `TrimRows`](@/api/trimRows.md)
|
|
5680
6301
|
* - [Row trimming](@/guides/rows/row-trimming/row-trimming.md)
|
|
5681
6302
|
*
|
|
6303
|
+
* This option can only be set at the [grid level](@/guides/getting-started/configuration-options/configuration-options.md#set-grid-options).
|
|
6304
|
+
* It has no effect when set in the [`columns`](#columns), [`cells`](#cells), or [`cell`](#cell) options.
|
|
6305
|
+
*
|
|
5682
6306
|
* @memberof Options#
|
|
5683
6307
|
* @type {boolean|number[]}
|
|
5684
6308
|
* @default undefined
|
|
@@ -5742,6 +6366,7 @@ const _default = ()=>{
|
|
|
5742
6366
|
* | `'text'` | Renderer: `TextRenderer`<br>Editor: `TextEditor`<br>Validator: - |
|
|
5743
6367
|
* | [`'time`'](@/guides/cell-types/time-cell-type/time-cell-type.md) | Renderer: `TimeRenderer`<br>Editor: `TimeEditor`<br>Validator: `TimeValidator` |
|
|
5744
6368
|
* | [`'intl-time'`](@/guides/cell-types/time-cell-type/time-cell-type.md) | Renderer: `IntlTimeRenderer`<br>Editor: `IntlTimeEditor`<br>Validator: `IntlTimeValidator` |
|
|
6369
|
+
* | [`'intl-datetime'`](@/guides/cell-types/datetime-cell-type/datetime-cell-type.md) | Renderer: `IntlDatetimeRenderer`<br>Editor: `IntlDatetimeEditor`<br>Validator: `IntlDatetimeValidator` |
|
|
5745
6370
|
*
|
|
5746
6371
|
* Read more:
|
|
5747
6372
|
* - [Cell type](@/guides/cell-types/cell-type/cell-type.md)
|
|
@@ -5845,6 +6470,9 @@ const _default = ()=>{
|
|
|
5845
6470
|
* Read more:
|
|
5846
6471
|
* - [Undo and redo](@/guides/accessories-and-menus/undo-redo/undo-redo.md)
|
|
5847
6472
|
*
|
|
6473
|
+
* This option can only be set at the [grid level](@/guides/getting-started/configuration-options/configuration-options.md#set-grid-options).
|
|
6474
|
+
* It has no effect when set in the [`columns`](#columns), [`cells`](#cells), or [`cell`](#cell) options.
|
|
6475
|
+
*
|
|
5848
6476
|
* @memberof Options#
|
|
5849
6477
|
* @type {boolean}
|
|
5850
6478
|
* @default undefined
|
|
@@ -5913,7 +6541,7 @@ const _default = ()=>{
|
|
|
5913
6541
|
* {
|
|
5914
6542
|
* // add a custom cell validator function
|
|
5915
6543
|
* validator(value, callback) {
|
|
5916
|
-
*
|
|
6544
|
+
* callback(value >= 0 && value <= 100);
|
|
5917
6545
|
* }
|
|
5918
6546
|
* },
|
|
5919
6547
|
* ],
|
|
@@ -5937,6 +6565,14 @@ const _default = ()=>{
|
|
|
5937
6565
|
* Optionally set [`sourceDataWarningMessage`](@/api/options.md#sourcedatawarningmessage) to customize the
|
|
5938
6566
|
* message logged for invalid values.
|
|
5939
6567
|
*
|
|
6568
|
+
* __Limitation:__ source-data validation only sees a `sourceDataValidator` (and a validating cell
|
|
6569
|
+
* [`type`](@/api/options.md#type)) that you define in the global settings, the
|
|
6570
|
+
* [`columns`](@/api/options.md#columns) option, the [`cell`](@/api/options.md#cell) option, or with
|
|
6571
|
+
* [`setCellMeta()`](@/api/core.md#setcellmeta). It does __not__ run the [`cells`](@/api/options.md#cells)
|
|
6572
|
+
* function or the [`beforeGetCellMeta`](@/api/hooks.md#beforegetcellmeta) /
|
|
6573
|
+
* [`afterGetCellMeta`](@/api/hooks.md#aftergetcellmeta) hooks, so a validator that you add only through those
|
|
6574
|
+
* is skipped. Define the validator in one of the supported places to validate the source data.
|
|
6575
|
+
*
|
|
5940
6576
|
* @example
|
|
5941
6577
|
* ```js
|
|
5942
6578
|
* sourceDataWarningMessage: 'The source data is invalid.',
|
|
@@ -6033,11 +6669,29 @@ const _default = ()=>{
|
|
|
6033
6669
|
* | `auto` (default) | Use the offset calculated automatically by Handsontable |
|
|
6034
6670
|
* | A number | Set the offset manually |
|
|
6035
6671
|
*
|
|
6672
|
+
* With `auto`, the option works in a dynamic overscan mode: Handsontable renders 1 extra
|
|
6673
|
+
* column on each side of the viewport and, while you scroll horizontally, extends the
|
|
6674
|
+
* rendered area by up to 8 extra columns in the scroll direction, so consecutive scroll
|
|
6675
|
+
* steps reuse the already-rendered columns instead of re-rendering them.
|
|
6676
|
+
*
|
|
6677
|
+
* The scroll-direction overscan works only when Handsontable knows every column's width up
|
|
6678
|
+
* front and all columns share the same width: set [`colWidths`](#colWidths) to a single
|
|
6679
|
+
* number. Features that measure or change individual column widths turn the overscan off for
|
|
6680
|
+
* the column axis – for example, [`autoColumnSize`](#autoColumnSize) (enabled by default),
|
|
6681
|
+
* [`manualColumnResize`](#manualColumnResize), or [`hiddenColumns`](#hiddenColumns). The grid
|
|
6682
|
+
* then keeps the static offset of 1 column on each side.
|
|
6683
|
+
*
|
|
6684
|
+
* An explicit number switches the option to a manual mode: exactly that many extra columns
|
|
6685
|
+
* render on both sides, with no scroll-direction overscan.
|
|
6686
|
+
*
|
|
6036
6687
|
* The `viewportColumnRenderingOffset` setting is ignored when [`renderAllColumns`](#renderAllColumns) is set to `true`.
|
|
6037
6688
|
*
|
|
6038
6689
|
* Read more:
|
|
6039
6690
|
* - [Performance: Define the number of pre-rendered rows and columns](@/guides/optimization/performance/performance.md#define-the-number-of-pre-rendered-rows-and-columns)
|
|
6040
6691
|
*
|
|
6692
|
+
* This option can only be set at the [grid level](@/guides/getting-started/configuration-options/configuration-options.md#set-grid-options).
|
|
6693
|
+
* It has no effect when set in the [`columns`](#columns), [`cells`](#cells), or [`cell`](#cell) options.
|
|
6694
|
+
*
|
|
6041
6695
|
* @memberof Options#
|
|
6042
6696
|
* @type {number|'auto'}
|
|
6043
6697
|
* @default 'auto'
|
|
@@ -6061,12 +6715,30 @@ const _default = ()=>{
|
|
|
6061
6715
|
* | `auto` (default) | Use the offset calculated automatically by Handsontable |
|
|
6062
6716
|
* | A number | Set the offset manually |
|
|
6063
6717
|
*
|
|
6718
|
+
* With `auto`, the option works in a dynamic overscan mode: Handsontable renders 1 extra row
|
|
6719
|
+
* on each side of the viewport and, while you scroll vertically, extends the rendered area by
|
|
6720
|
+
* up to 4 extra rows in the scroll direction, so consecutive scroll steps reuse the
|
|
6721
|
+
* already-rendered rows instead of re-rendering them.
|
|
6722
|
+
*
|
|
6723
|
+
* The scroll-direction overscan works only when Handsontable knows every row's height up
|
|
6724
|
+
* front and all rows share the same height: keep the default [`rowHeights`](#rowHeights) or
|
|
6725
|
+
* set it to a single number. Features that measure or change individual row heights turn the
|
|
6726
|
+
* overscan off for the row axis – for example, [`autoRowSize`](#autoRowSize),
|
|
6727
|
+
* [`manualRowResize`](#manualRowResize), or [`hiddenRows`](#hiddenRows). The grid then keeps
|
|
6728
|
+
* the static offset of 1 row on each side.
|
|
6729
|
+
*
|
|
6730
|
+
* An explicit number switches the option to a manual mode: exactly that many extra rows
|
|
6731
|
+
* render on both sides, with no scroll-direction overscan.
|
|
6732
|
+
*
|
|
6064
6733
|
* The `viewportRowRenderingOffset` setting is ignored when [`renderAllRows`](#renderAllRows) is set to `true`.
|
|
6065
6734
|
*
|
|
6066
6735
|
* Read more:
|
|
6067
6736
|
* - [Performance: Define the number of pre-rendered rows and columns](@/guides/optimization/performance/performance.md#define-the-number-of-pre-rendered-rows-and-columns)
|
|
6068
6737
|
* - [Column virtualization](@/guides/columns/column-virtualization/column-virtualization.md)
|
|
6069
6738
|
*
|
|
6739
|
+
* This option can only be set at the [grid level](@/guides/getting-started/configuration-options/configuration-options.md#set-grid-options).
|
|
6740
|
+
* It has no effect when set in the [`columns`](#columns), [`cells`](#cells), or [`cell`](#cell) options.
|
|
6741
|
+
*
|
|
6070
6742
|
* @memberof Options#
|
|
6071
6743
|
* @type {number|'auto'}
|
|
6072
6744
|
* @default 'auto'
|
|
@@ -6096,6 +6768,9 @@ const _default = ()=>{
|
|
|
6096
6768
|
* - [Performance: Define the number of pre-rendered rows and columns](@/guides/optimization/performance/performance.md#define-the-number-of-pre-rendered-rows-and-columns)
|
|
6097
6769
|
* - [Column virtualization](@/guides/columns/column-virtualization/column-virtualization.md)
|
|
6098
6770
|
*
|
|
6771
|
+
* This option can only be set at the [grid level](@/guides/getting-started/configuration-options/configuration-options.md#set-grid-options).
|
|
6772
|
+
* It has no effect when set in the [`columns`](#columns), [`cells`](#cells), or [`cell`](#cell) options.
|
|
6773
|
+
*
|
|
6099
6774
|
* @memberof Options#
|
|
6100
6775
|
* @since 1.14.7
|
|
6101
6776
|
* @type {number|'auto'}
|
|
@@ -6128,6 +6803,9 @@ const _default = ()=>{
|
|
|
6128
6803
|
* - [Performance: Define the number of pre-rendered rows and columns](@/guides/optimization/performance/performance.md#define-the-number-of-pre-rendered-rows-and-columns)
|
|
6129
6804
|
* - [Row virtualization](@/guides/rows/row-virtualization/row-virtualization.md)
|
|
6130
6805
|
*
|
|
6806
|
+
* This option can only be set at the [grid level](@/guides/getting-started/configuration-options/configuration-options.md#set-grid-options).
|
|
6807
|
+
* It has no effect when set in the [`columns`](#columns), [`cells`](#cells), or [`cell`](#cell) options.
|
|
6808
|
+
*
|
|
6131
6809
|
* @memberof Options#
|
|
6132
6810
|
* @since 1.14.7
|
|
6133
6811
|
* @type {number|'auto'}
|
|
@@ -6301,6 +6979,9 @@ const _default = ()=>{
|
|
|
6301
6979
|
* This option is only respected when set in the table settings. It does not work when defined per column
|
|
6302
6980
|
* or per cell (e.g. in `columns` or cell meta).
|
|
6303
6981
|
*
|
|
6982
|
+
* This option can only be set at the [grid level](@/guides/getting-started/configuration-options/configuration-options.md#set-grid-options).
|
|
6983
|
+
* It has no effect when set in the [`columns`](#columns), [`cells`](#cells), or [`cell`](#cell) options.
|
|
6984
|
+
*
|
|
6304
6985
|
* @since 17.0.0
|
|
6305
6986
|
* @memberof Options#
|
|
6306
6987
|
* @type {function(string, string): string}
|