handsontable 14.0.0-next-78ff0b3-20231129 → 14.0.0-next-0f92d92-20231130
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/CHANGELOG.md +68 -53
- package/base.js +2 -2
- package/base.mjs +2 -2
- package/core.js +19 -9
- package/core.mjs +19 -9
- package/dataMap/metaManager/metaSchema.js +11 -11
- package/dataMap/metaManager/metaSchema.mjs +11 -11
- package/dist/handsontable.css +2 -2
- package/dist/handsontable.full.css +2 -2
- package/dist/handsontable.full.js +44 -32
- package/dist/handsontable.full.min.css +2 -2
- package/dist/handsontable.full.min.js +3 -3
- package/dist/handsontable.js +44 -32
- package/dist/handsontable.min.css +2 -2
- package/dist/handsontable.min.js +3 -3
- package/helpers/mixed.js +1 -1
- package/helpers/mixed.mjs +1 -1
- package/package.json +1 -1
- package/pluginHooks.js +5 -3
- package/pluginHooks.mjs +5 -3
- package/plugins/mergeCells/mergeCells.js +1 -1
- package/plugins/mergeCells/mergeCells.mjs +1 -1
- package/shortcuts/context.js +1 -1
- package/shortcuts/context.mjs +1 -1
- package/shortcuts/manager.js +2 -2
- package/shortcuts/manager.mjs +2 -2
package/CHANGELOG.md
CHANGED
@@ -12,56 +12,71 @@ adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
12
12
|
## [14.0.0] - 2023-11-22
|
13
13
|
|
14
14
|
### Added
|
15
|
-
-
|
16
|
-
- Added
|
17
|
-
- Added
|
18
|
-
- Added support for keyboard shortcuts that allows selecting all rows and columns and add 4 new hooks [#10389](https://github.com/handsontable/handsontable/pull/10389)
|
15
|
+
- Added a `Ctrl/Cmd + Shift + Space` keyboard shortcut for selecting all cells. [#10237](https://github.com/handsontable/handsontable/pull/10237)
|
16
|
+
- Added support for keyboard navigation in the headers. [#10265](https://github.com/handsontable/handsontable/pull/10265)
|
17
|
+
- Added keyboard shortcuts for selecting all rows and columns along with 4 new hooks. [#10389](https://github.com/handsontable/handsontable/pull/10389)
|
19
18
|
- Added support for collapsing/expanding columns using a keyboard shortcut. [#10404](https://github.com/handsontable/handsontable/pull/10404)
|
20
19
|
- Added support for collapsing/expanding nested rows using a keyboard shortcut. [#10405](https://github.com/handsontable/handsontable/pull/10405)
|
21
20
|
- Added support for column sorting using a keyboard shortcut. [#10410](https://github.com/handsontable/handsontable/pull/10410)
|
22
|
-
- Added
|
23
|
-
- Added
|
24
|
-
- Added
|
25
|
-
- Added
|
26
|
-
- Added a keyboard shortcut
|
27
|
-
- Added the ability to traverse the grid
|
28
|
-
- Added
|
21
|
+
- Added keyboard shortcuts for opening the column menu. [#10413](https://github.com/handsontable/handsontable/pull/10413)
|
22
|
+
- Added a keyboard shortcut for opening the context menu. [#10417](https://github.com/handsontable/handsontable/pull/10417)
|
23
|
+
- Added a keyboard shortcut for scrolling the viewport [#10419](https://github.com/handsontable/handsontable/pull/10419)
|
24
|
+
- Added a keyboard shortcut for clearing the filters. [#10420](https://github.com/handsontable/handsontable/pull/10420)
|
25
|
+
- Added a keyboard shortcut for managing cell comments. [#10421](https://github.com/handsontable/handsontable/pull/10421)
|
26
|
+
- Added the ability to traverse the grid within a webpage using the `TAB` key and introduced a new `tabNavigation` option. [#10430](https://github.com/handsontable/handsontable/pull/10430) [#10585](https://github.com/handsontable/handsontable/pull/10585)
|
27
|
+
- Added ARIA tags to the table elements. [#10463](https://github.com/handsontable/handsontable/pull/10463)
|
28
|
+
- Added ARIA tags to the autocomplete editor. [#10524](https://github.com/handsontable/handsontable/pull/10524)
|
29
|
+
- Added test cases to ensure the dropdown editor's ARIA tags are correct. [#10526](https://github.com/handsontable/handsontable/pull/10526)
|
30
|
+
- Added the `aria-label` attribute to the checkbox renderer. [#10539](https://github.com/handsontable/handsontable/pull/10539)
|
31
|
+
- Added keyboard shortcuts and `role` attributes to the filtering menu's links. [#10548](https://github.com/handsontable/handsontable/pull/10548)
|
32
|
+
- Added ARIA tags and improved accessibility of the dropdown menu. [#10541](https://github.com/handsontable/handsontable/pull/10541)
|
33
|
+
- Added the ability to navigate the headers with the keyboard by introducing a new `navigableHeaders` option along with other changes. [#10301](https://github.com/handsontable/handsontable/pull/10301)
|
29
34
|
- Added a new `beforeSelectionHighlightSet` hook that allows modifying logical selection coordinates before they are applied to the rendering engine. [#10513](https://github.com/handsontable/handsontable/pull/10513)
|
30
35
|
- Implemented the `select` renderer and cell type. [#10529](https://github.com/handsontable/handsontable/pull/10529)
|
31
|
-
-
|
32
|
-
- Added `handsontable` and `date` renderers for their respective cell types
|
36
|
+
- Added an accessibility demo for javascript and React. [#10532](https://github.com/handsontable/handsontable/pull/10532)
|
37
|
+
- Added `handsontable` and `date` renderers for their respective cell types to allow adding the a11y attributes. [#10535](https://github.com/handsontable/handsontable/pull/10535)
|
33
38
|
- Added new `beforeColumnWrap` and `beforeRowWrap` hooks. [#10550](https://github.com/handsontable/handsontable/pull/10550)
|
34
39
|
- Add a set of `angular@17` examples to ensure Handsontable works with that Angular version. [#10584](https://github.com/handsontable/handsontable/pull/10584)
|
35
40
|
|
36
41
|
### Changed
|
37
|
-
- **Breaking change**: Changed the
|
38
|
-
- **Breaking change**: Extend the Core `scrollViewportTo` method for ability to disabling cell autosnapping [#10508](https://github.com/handsontable/handsontable/pull/10508)
|
39
|
-
- **Breaking change**: Improved keyboard shortcuts navigation for the context and dropdown menus and add new `forwardToContext` option to the ShortcutManager. [#10519](https://github.com/handsontable/handsontable/pull/10519)
|
42
|
+
- **Breaking change**: Changed the way the table reacts to using the "select all cells" methods and shortcuts. [#10461](https://github.com/handsontable/handsontable/pull/10461)
|
40
43
|
- **Breaking change**: Changed the colors of the invalid cells and the arrow buttons of the autocomplete-typed cells. [#10520](https://github.com/handsontable/handsontable/pull/10520)
|
41
|
-
- **Breaking change**: Improved the navigation and accessibility of the Dropdown Menu
|
42
|
-
-
|
43
|
-
-
|
44
|
-
- Improved the
|
45
|
-
-
|
46
|
-
-
|
47
|
-
-
|
48
|
-
-
|
49
|
-
-
|
50
|
-
-
|
44
|
+
- **Breaking change**: Improved the navigation and accessibility of the Filtering Dropdown Menu. [#10530](https://github.com/handsontable/handsontable/pull/10530)
|
45
|
+
- **Breaking change**: Changed the way Handsontable handles focus by focusing the browser on cell elements. Introduced a new `imeFastEdit` option to minimize the negative effects affecting the "fast edit" feature for the IME users. [#10342](https://github.com/handsontable/handsontable/pull/10342)
|
46
|
+
- Extended the Core's `scrollViewportTo` method to allow disabling of cell auto-snapping. [#10508](https://github.com/handsontable/handsontable/pull/10508)
|
47
|
+
- Improved the keyboard navigation for the context and dropdown menus and added a new `forwardToContext` option to the ShortcutManager. [#10519](https://github.com/handsontable/handsontable/pull/10519)
|
48
|
+
- Upgraded the monorepo to utilize Node 20. [#10468](https://github.com/handsontable/handsontable/pull/10468)
|
49
|
+
- Improved DX by adding an exception to be thrown when trying to activate a shortcut context that has been not yet registered. [#10476](https://github.com/handsontable/handsontable/pull/10476)
|
50
|
+
- Improved the performance of the table for cases when the table is hidden. [#10490](https://github.com/handsontable/handsontable/pull/10490)
|
51
|
+
- Updated the TS definitions for the HiddenRows and HiddenColumns plugins. [#10492](https://github.com/handsontable/handsontable/pull/10492)
|
52
|
+
- Updated the TS definitions for the AutoRowSize and AutoColumnSize plugins. [#10493](https://github.com/handsontable/handsontable/pull/10493)
|
53
|
+
- Updated the TS definitions for the Filters plugin and the Core methods. [#10494](https://github.com/handsontable/handsontable/pull/10494)
|
54
|
+
- Fixed the typescript type definitions in the packages' `package.json` files. [#10509](https://github.com/handsontable/handsontable/issues/10509)
|
55
|
+
- Changed the default styling of the "OK" button in the Filtering Dropdown when it's focus. [#10558](https://github.com/handsontable/handsontable/issues/10558)
|
51
56
|
|
52
57
|
### Fixed
|
53
|
-
- Fixed ampersand
|
54
|
-
- Fixed an issue related to the backlight position misalignment for the ManualRowMove and ManualColumnMove plugins. [#10475](https://github.com/handsontable/handsontable/pull/10475)
|
55
|
-
- Fixed row header
|
56
|
-
- Fixed offset
|
57
|
-
- Fixed
|
58
|
-
- Added missing
|
59
|
-
- Fixed a bug where pressing
|
60
|
-
- Fixed editor incorrect width and height
|
61
|
-
- Fixed visual glitches (unwanted pixels) of the
|
62
|
-
-
|
63
|
-
-
|
64
|
-
- Fixed
|
58
|
+
- Fixed an issue where copying values containing an ampersand resulted in a wrong values being pasted. [#10472](https://github.com/handsontable/handsontable/pull/10472)
|
59
|
+
- Fixed an issue related to the backlight position misalignment for the `ManualRowMove` and `ManualColumnMove` plugins. [#10475](https://github.com/handsontable/handsontable/pull/10475)
|
60
|
+
- Fixed a problem with row header widths changing sizes after adding/deleting rows. [#10479](https://github.com/handsontable/handsontable/pull/10479)
|
61
|
+
- Fixed a problem with the `offset` helper for elements placed in foreign object contexts. [#10480](https://github.com/handsontable/handsontable/issues/10480)
|
62
|
+
- Fixed problems with size and alignment of the table when placed under elements with the CSS `transform: scale` attribute applied. [#10482](https://github.com/handsontable/handsontable/pull/10482)
|
63
|
+
- Added the missing `updateData` value to the `ChangeSource` type. [#10488](https://github.com/handsontable/handsontable/pull/10488)
|
64
|
+
- Fixed a bug where pressing `Ctrl/Cmd` does not trigger non-contiguous selection. [#10502](https://github.com/handsontable/handsontable/pull/10502)
|
65
|
+
- Fixed a problem with the editor having incorrect width and height. [#10504](https://github.com/handsontable/handsontable/pull/10504)
|
66
|
+
- Fixed visual glitches (unwanted pixels) of the `Autocomplete` editor's list in cases when there were no items. [#10506](https://github.com/handsontable/handsontable/pull/10506)
|
67
|
+
- Fixed the Vue and React demo's dependencies to be able to use the demos with Stackblitz. [#10523](https://github.com/handsontable/handsontable/pull/10523)
|
68
|
+
- Fixed a problem with the merged cells having wrong row heights. [#10500](https://github.com/handsontable/handsontable/pull/10500)
|
69
|
+
- Fixed the accessibility issues in the documentation. [#10574](https://github.com/handsontable/handsontable/pull/10574)
|
70
|
+
- Updated the demos for better accessibility. [#10563](https://github.com/handsontable/handsontable/pull/10563)
|
71
|
+
- Fixed a problem with the text editor's width being calculated incorrectly. [#10590](https://github.com/handsontable/handsontable/pull/10590)
|
72
|
+
- Fixed a problem with two cells being selected after `Ctrl/Cmd + Shift` key combination. [#10622](https://github.com/handsontable/handsontable/pull/10622)
|
73
|
+
|
74
|
+
For more information on Handsontable 14.0.0, see:
|
75
|
+
|
76
|
+
- [Blog post (14.0.0)](https://handsontable.com/blog/whats-new-in-handsontable-14-improvements-to-accessibility)
|
77
|
+
- [Documentation (14.0)](https://handsontable.com/docs/14.0)
|
78
|
+
- [Release notes (14.0.0)](https://handsontable.com/docs/release-notes/#_14-0-0)
|
79
|
+
- [Migration guide (13.1 → 14.0)](https://handsontable.com/docs/migration-from-13.1.0-to-14.0/)
|
65
80
|
|
66
81
|
## [13.1.0] - 2023-08-31
|
67
82
|
|
@@ -441,7 +456,7 @@ For more information on Handsontable 12.0.1, see:
|
|
441
456
|
- Added an Arabic translation. [#9208](https://github.com/handsontable/handsontable/issues/9208)
|
442
457
|
- Added a new configuration option: `fixedColumnsStart`.
|
443
458
|
[#8760](https://github.com/handsontable/handsontable/issues/8760)
|
444
|
-
- Added a new keyboard shortcut (<kbd>Ctrl</kbd>/<kbd>Cmd</kbd
|
459
|
+
- Added a new keyboard shortcut (<kbd>Ctrl</kbd>/<kbd>Cmd</kbd>+<kbd>Enter</kbd>) for filling the
|
445
460
|
selected range of cells with the value of the active cell.
|
446
461
|
[#9366](https://github.com/handsontable/handsontable/issues/9366)
|
447
462
|
- Added support for the <kbd>Home</kbd> and <kbd>End</kbd> keys inside cell editors, for moving the
|
@@ -472,23 +487,23 @@ For more information on Handsontable 12.0.1, see:
|
|
472
487
|
[keyboard shortcuts](https://handsontable.com/docs/keyboard-shortcuts/#default-keyboard-shortcuts)
|
473
488
|
guide. However, some shortcuts that were not defined explicitly, and were not listed in the
|
474
489
|
documentation, don't work anymore (e.g., <kbd>Enter</kbd> opens a cell's editor, but
|
475
|
-
<kbd>Ctrl</kbd
|
490
|
+
<kbd>Ctrl</kbd>+<kbd>Enter</kbd> doesn't). This change doesn't affect custom keyboard shortcuts.
|
476
491
|
[#8942](https://github.com/handsontable/handsontable/issues/8942)
|
477
492
|
- **Breaking change**: Split a cross-platform modifier key (<kbd>Ctrl</kbd>/<kbd>Cmd</kbd>) into two
|
478
493
|
separate keys, to improve keyboard navigation consistency. Now, the <kbd>Cmd</kbd> key triggers
|
479
494
|
actions on macOS where the <kbd>Ctrl</kbd> key triggers actions on Windows. For example, on macOS,
|
480
|
-
<kbd>Ctrl</kbd
|
495
|
+
<kbd>Ctrl</kbd>+<kbd>A</kbd> doesn't work anymore: <kbd>Cmd</kbd>+<kbd>A</kbd> is used
|
481
496
|
instead. [#9369](https://github.com/handsontable/handsontable/issues/9369)
|
482
497
|
- **Breaking change**: Changed the actions of the following
|
483
498
|
[keyboard shortcuts](https://handsontable.com/docs/keyboard-shortcuts/#default-keyboard-shortcuts),
|
484
499
|
to match the usual spreadsheet software behavior, and provide a more intuitive user experience:
|
485
|
-
<kbd>Ctrl</kbd>/<kbd>Cmd</kbd
|
486
|
-
<kbd>↑</kbd>, <kbd>Ctrl</kbd>/<kbd>Cmd</kbd
|
487
|
-
<kbd>Shift</kbd
|
488
|
-
<kbd>Ctrl</kbd>/<kbd>Cmd</kbd
|
489
|
-
<kbd>→</kbd>, <kbd>Ctrl</kbd>/<kbd>Cmd</kbd
|
490
|
-
<kbd>Ctrl</kbd>/<kbd>Cmd</kbd
|
491
|
-
<kbd>End</kbd>, <kbd>Shift</kbd
|
500
|
+
<kbd>Ctrl</kbd>/<kbd>Cmd</kbd>+<kbd>↑</kbd>, <kbd>Ctrl</kbd>/<kbd>Cmd</kbd>+<kbd>Shift</kbd> +
|
501
|
+
<kbd>↑</kbd>, <kbd>Ctrl</kbd>/<kbd>Cmd</kbd>+<kbd>↓</kbd>, <kbd>Ctrl</kbd>/<kbd>Cmd</kbd> +
|
502
|
+
<kbd>Shift</kbd>+<kbd>↓</kbd>, <kbd>Ctrl</kbd>/<kbd>Cmd</kbd>+<kbd>←</kbd>,
|
503
|
+
<kbd>Ctrl</kbd>/<kbd>Cmd</kbd>+<kbd>Shift</kbd>+<kbd>←</kbd>, <kbd>Ctrl</kbd>/<kbd>Cmd</kbd> +
|
504
|
+
<kbd>→</kbd>, <kbd>Ctrl</kbd>/<kbd>Cmd</kbd>+<kbd>Shift</kbd>+<kbd>→</kbd>, <kbd>Home</kbd>,
|
505
|
+
<kbd>Ctrl</kbd>/<kbd>Cmd</kbd>+<kbd>Home</kbd>, <kbd>End</kbd>, <kbd>Ctrl</kbd>/<kbd>Cmd</kbd> +
|
506
|
+
<kbd>End</kbd>, <kbd>Shift</kbd>+<kbd>Page Up</kbd>, and <kbd>Shift</kbd>+<kbd>Page
|
492
507
|
Down</kbd>. [#9363](https://github.com/handsontable/handsontable/issues/9363)
|
493
508
|
[#9364](https://github.com/handsontable/handsontable/issues/9364)
|
494
509
|
[#9365](https://github.com/handsontable/handsontable/issues/9365)
|
@@ -507,11 +522,11 @@ For more information on Handsontable 12.0.1, see:
|
|
507
522
|
|
508
523
|
### Removed
|
509
524
|
|
510
|
-
- **Breaking change**: Removed the <kbd>Cmd</kbd
|
511
|
-
merging), as it conflicted with window minimizing on macOS. The <kbd>Ctrl</kbd
|
525
|
+
- **Breaking change**: Removed the <kbd>Cmd</kbd>+<kbd>M</kbd> keyboard shortcut (used for cell
|
526
|
+
merging), as it conflicted with window minimizing on macOS. The <kbd>Ctrl</kbd>+<kbd>M</kbd>
|
512
527
|
keyboard shortcut works the same as before.
|
513
528
|
[#9368](https://github.com/handsontable/handsontable/issues/9368)
|
514
|
-
- **Breaking change**: Removed the <kbd>Shift</kbd
|
529
|
+
- **Breaking change**: Removed the <kbd>Shift</kbd>+<kbd>Page Up</kbd>/<kbd>Page Down</kbd>
|
515
530
|
keyboard shortcuts from the cell editing context.
|
516
531
|
[#9401](https://github.com/handsontable/handsontable/issues/9401)
|
517
532
|
- Dropped support for Internet Explorer 11 and Edge Legacy (the non-Chromium version of Edge).
|
@@ -542,8 +557,8 @@ For more information on Handsontable 12.0.1, see:
|
|
542
557
|
[#5455](https://github.com/handsontable/handsontable/issues/5455)
|
543
558
|
- Fixed a wrong TypeScript definition in the `BasePlugin` class.
|
544
559
|
[#9175](https://github.com/handsontable/handsontable/issues/9175)
|
545
|
-
- Fixed an issue where the <kbd>Ctrl</kbd>/<kbd>Cmd</kbd
|
546
|
-
<kbd>Ctrl</kbd>/<kbd>Cmd</kbd
|
560
|
+
- Fixed an issue where the <kbd>Ctrl</kbd>/<kbd>Cmd</kbd>+<kbd>Z</kbd> and
|
561
|
+
<kbd>Ctrl</kbd>/<kbd>Cmd</kbd>+<kbd>Shift</kbd>+<kbd>Z</kbd> keyboard shortcuts didn't behave
|
547
562
|
properly inside cell editors. [#9367](https://github.com/handsontable/handsontable/issues/9367)
|
548
563
|
- Fixed an issue where the dropdown menu contained unwanted rectangle elements.
|
549
564
|
[#9240](https://github.com/handsontable/handsontable/issues/9240)
|
package/base.js
CHANGED
@@ -43,8 +43,8 @@ Handsontable.hooks = _pluginHooks.default.getSingleton();
|
|
43
43
|
Handsontable.CellCoords = _src.CellCoords;
|
44
44
|
Handsontable.CellRange = _src.CellRange;
|
45
45
|
Handsontable.packageName = 'handsontable';
|
46
|
-
Handsontable.buildDate = "
|
47
|
-
Handsontable.version = "14.0.0-next-
|
46
|
+
Handsontable.buildDate = "30/11/2023 09:26:31";
|
47
|
+
Handsontable.version = "14.0.0-next-0f92d92-20231130";
|
48
48
|
Handsontable.languages = {
|
49
49
|
dictionaryKeys: _registry.dictionaryKeys,
|
50
50
|
getLanguageDictionary: _registry.getLanguageDictionary,
|
package/base.mjs
CHANGED
@@ -35,8 +35,8 @@ Handsontable.hooks = Hooks.getSingleton();
|
|
35
35
|
Handsontable.CellCoords = CellCoords;
|
36
36
|
Handsontable.CellRange = CellRange;
|
37
37
|
Handsontable.packageName = 'handsontable';
|
38
|
-
Handsontable.buildDate = "
|
39
|
-
Handsontable.version = "14.0.0-next-
|
38
|
+
Handsontable.buildDate = "30/11/2023 09:26:37";
|
39
|
+
Handsontable.version = "14.0.0-next-0f92d92-20231130";
|
40
40
|
Handsontable.languages = {
|
41
41
|
dictionaryKeys,
|
42
42
|
getLanguageDictionary,
|
package/core.js
CHANGED
@@ -4008,22 +4008,25 @@ function Core(rootElement, userSettings) {
|
|
4008
4008
|
};
|
4009
4009
|
|
4010
4010
|
/**
|
4011
|
-
* Select the
|
4011
|
+
* Select all cells in the table excluding headers and corner elements.
|
4012
4012
|
*
|
4013
4013
|
* The previous selection is overwritten.
|
4014
4014
|
*
|
4015
4015
|
* ```js
|
4016
|
-
* //
|
4016
|
+
* // Select all cells in the table along with row headers, including all headers and the corner cell.
|
4017
|
+
* // Doesn't select column headers and corner elements.
|
4017
4018
|
* hot.selectAll();
|
4018
4019
|
*
|
4019
|
-
* //
|
4020
|
+
* // Select all cells in the table, including row headers but excluding the corner cell and column headers.
|
4020
4021
|
* hot.selectAll(true, false);
|
4021
4022
|
*
|
4022
|
-
* //
|
4023
|
-
* // highlight to position
|
4024
|
-
* hot.selectAll(-2, -1
|
4023
|
+
* // Select all cells in the table, including all headers and the corner cell, but move the focus.
|
4024
|
+
* // highlight to position 2, 1
|
4025
|
+
* hot.selectAll(-2, -1, {
|
4026
|
+
* focusPosition: { row: 2, col: 1 }
|
4027
|
+
* });
|
4025
4028
|
*
|
4026
|
-
* //
|
4029
|
+
* // Select all cells in the table, without headers and corner elements.
|
4027
4030
|
* hot.selectAll(false);
|
4028
4031
|
* ```
|
4029
4032
|
*
|
@@ -4035,11 +4038,18 @@ function Core(rootElement, userSettings) {
|
|
4035
4038
|
* @param {boolean} [includeColumnHeaders=false] `true` If the selection should include the column
|
4036
4039
|
* headers, `false` otherwise.
|
4037
4040
|
*
|
4038
|
-
* @param {object} [options] Additional object with options.
|
4041
|
+
* @param {object} [options] Additional object with options. Since 14.0.0
|
4039
4042
|
* @param {{row: number, col: number} | boolean} [options.focusPosition] The argument allows changing the cell/header
|
4040
4043
|
* focus position. The value takes an object with a `row` and `col` properties from -N to N, where
|
4041
4044
|
* negative values point to the headers and positive values point to the cell range. If `false`, the focus
|
4042
|
-
* position won't be changed.
|
4045
|
+
* position won't be changed. Example:
|
4046
|
+
* ```js
|
4047
|
+
* hot.selectAll(0, 0, {
|
4048
|
+
* focusPosition: { row: 0, col: 1 },
|
4049
|
+
* disableHeadersHighlight: true
|
4050
|
+
* })
|
4051
|
+
* ```
|
4052
|
+
*
|
4043
4053
|
* @param {boolean} [options.disableHeadersHighlight] If `true`, disables highlighting the headers even when
|
4044
4054
|
* the logical coordinates points on them.
|
4045
4055
|
*/
|
package/core.mjs
CHANGED
@@ -4003,22 +4003,25 @@ export default function Core(rootElement, userSettings) {
|
|
4003
4003
|
};
|
4004
4004
|
|
4005
4005
|
/**
|
4006
|
-
* Select the
|
4006
|
+
* Select all cells in the table excluding headers and corner elements.
|
4007
4007
|
*
|
4008
4008
|
* The previous selection is overwritten.
|
4009
4009
|
*
|
4010
4010
|
* ```js
|
4011
|
-
* //
|
4011
|
+
* // Select all cells in the table along with row headers, including all headers and the corner cell.
|
4012
|
+
* // Doesn't select column headers and corner elements.
|
4012
4013
|
* hot.selectAll();
|
4013
4014
|
*
|
4014
|
-
* //
|
4015
|
+
* // Select all cells in the table, including row headers but excluding the corner cell and column headers.
|
4015
4016
|
* hot.selectAll(true, false);
|
4016
4017
|
*
|
4017
|
-
* //
|
4018
|
-
* // highlight to position
|
4019
|
-
* hot.selectAll(-2, -1
|
4018
|
+
* // Select all cells in the table, including all headers and the corner cell, but move the focus.
|
4019
|
+
* // highlight to position 2, 1
|
4020
|
+
* hot.selectAll(-2, -1, {
|
4021
|
+
* focusPosition: { row: 2, col: 1 }
|
4022
|
+
* });
|
4020
4023
|
*
|
4021
|
-
* //
|
4024
|
+
* // Select all cells in the table, without headers and corner elements.
|
4022
4025
|
* hot.selectAll(false);
|
4023
4026
|
* ```
|
4024
4027
|
*
|
@@ -4030,11 +4033,18 @@ export default function Core(rootElement, userSettings) {
|
|
4030
4033
|
* @param {boolean} [includeColumnHeaders=false] `true` If the selection should include the column
|
4031
4034
|
* headers, `false` otherwise.
|
4032
4035
|
*
|
4033
|
-
* @param {object} [options] Additional object with options.
|
4036
|
+
* @param {object} [options] Additional object with options. Since 14.0.0
|
4034
4037
|
* @param {{row: number, col: number} | boolean} [options.focusPosition] The argument allows changing the cell/header
|
4035
4038
|
* focus position. The value takes an object with a `row` and `col` properties from -N to N, where
|
4036
4039
|
* negative values point to the headers and positive values point to the cell range. If `false`, the focus
|
4037
|
-
* position won't be changed.
|
4040
|
+
* position won't be changed. Example:
|
4041
|
+
* ```js
|
4042
|
+
* hot.selectAll(0, 0, {
|
4043
|
+
* focusPosition: { row: 0, col: 1 },
|
4044
|
+
* disableHeadersHighlight: true
|
4045
|
+
* })
|
4046
|
+
* ```
|
4047
|
+
*
|
4038
4048
|
* @param {boolean} [options.disableHeadersHighlight] If `true`, disables highlighting the headers even when
|
4039
4049
|
* the logical coordinates points on them.
|
4040
4050
|
*/
|
@@ -1149,8 +1149,8 @@ var _default = () => {
|
|
1149
1149
|
*
|
1150
1150
|
* | Setting | Description |
|
1151
1151
|
* | -------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- |
|
1152
|
-
* | `true` (default) | - On pressing <kbd>**Ctrl**</kbd>/<kbd>**Cmd**</kbd
|
1153
|
-
* | `false`<br>(default for the [`password`](@/guides/cell-types/password-cell-type.md) [cell type](#type)) | - On pressing <kbd>**Ctrl**</kbd>/<kbd>**Cmd**</kbd
|
1152
|
+
* | `true` (default) | - On pressing <kbd>**Ctrl**</kbd>/<kbd>**Cmd**</kbd>+<kbd>**C**</kbd>, add the cell's value to the clipboard |
|
1153
|
+
* | `false`<br>(default for the [`password`](@/guides/cell-types/password-cell-type.md) [cell type](#type)) | - On pressing <kbd>**Ctrl**</kbd>/<kbd>**Cmd**</kbd>+<kbd>**C**</kbd>, add an empty string (`""`) to the clipboard |
|
1154
1154
|
*
|
1155
1155
|
* Read more:
|
1156
1156
|
* - [Clipboard](@/guides/cell-features/clipboard.md)
|
@@ -1900,8 +1900,8 @@ var _default = () => {
|
|
1900
1900
|
*
|
1901
1901
|
* | Property | Type | Description |
|
1902
1902
|
* | -------- | ------ | -------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
1903
|
-
* | `col` | Number | - On pressing <kbd>**Enter**</kbd>, move selection `col` columns right<br>- On pressing <kbd>**Shift**</kbd
|
1904
|
-
* | `row` | Number | - On pressing <kbd>**Enter**</kbd>, move selection `row` rows down<br>- On pressing <kbd>**Shift**</kbd
|
1903
|
+
* | `col` | Number | - On pressing <kbd>**Enter**</kbd>, move selection `col` columns right<br>- On pressing <kbd>**Shift**</kbd>+<kbd>**Enter**</kbd>, move selection `col` columns left |
|
1904
|
+
* | `row` | Number | - On pressing <kbd>**Enter**</kbd>, move selection `row` rows down<br>- On pressing <kbd>**Shift**</kbd>+<kbd>**Enter**</kbd>, move selection `row` rows up |
|
1905
1905
|
*
|
1906
1906
|
* Read more:
|
1907
1907
|
* - [`enterBeginsEditing`](#enterBeginsEditing)
|
@@ -3768,13 +3768,13 @@ var _default = () => {
|
|
3768
3768
|
* | Option | Possible settings | Description |
|
3769
3769
|
* | ------------------- | ----------------- | ---------------------------------------------------------------------------------------------------- |
|
3770
3770
|
* | `searchResultClass` | A string | Add a custom CSS class name to search results |
|
3771
|
-
* | `queryMethod` | A function | Add a [custom query method](@/guides/
|
3772
|
-
* | `callback` | A function | Add a [custom callback function](@/guides/
|
3771
|
+
* | `queryMethod` | A function | Add a [custom query method](@/guides/navigation/searching-values.md#custom-query-method) |
|
3772
|
+
* | `callback` | A function | Add a [custom callback function](@/guides/navigation/searching-values.md#custom-callback) |
|
3773
3773
|
*
|
3774
3774
|
* Read more:
|
3775
|
-
* - [Searching values](@/guides/
|
3776
|
-
* - [Searching values: Custom query method](@/guides/
|
3777
|
-
* - [Searching values: Custom callback](@/guides/
|
3775
|
+
* - [Searching values](@/guides/navigation/searching-values.md)
|
3776
|
+
* - [Searching values: Custom query method](@/guides/navigation/searching-values.md#custom-query-method)
|
3777
|
+
* - [Searching values: Custom callback](@/guides/navigation/searching-values.md#custom-callback)
|
3778
3778
|
*
|
3779
3779
|
* @memberof Options#
|
3780
3780
|
* @type {boolean|object}
|
@@ -4187,8 +4187,8 @@ var _default = () => {
|
|
4187
4187
|
*
|
4188
4188
|
* | Property | Type | Description |
|
4189
4189
|
* | -------- | ------ | -------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
4190
|
-
* | `row` | Number | - On pressing <kbd>**Tab**</kbd>, move selection `row` rows down<br>- On pressing <kbd>**Shift**</kbd
|
4191
|
-
* | `col` | Number | - On pressing <kbd>**Tab**</kbd>, move selection `col` columns right<br>- On pressing <kbd>**Shift**</kbd
|
4190
|
+
* | `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 |
|
4191
|
+
* | `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 |
|
4192
4192
|
*
|
4193
4193
|
* @memberof Options#
|
4194
4194
|
* @type {object|Function}
|
@@ -1146,8 +1146,8 @@ export default (() => {
|
|
1146
1146
|
*
|
1147
1147
|
* | Setting | Description |
|
1148
1148
|
* | -------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- |
|
1149
|
-
* | `true` (default) | - On pressing <kbd>**Ctrl**</kbd>/<kbd>**Cmd**</kbd
|
1150
|
-
* | `false`<br>(default for the [`password`](@/guides/cell-types/password-cell-type.md) [cell type](#type)) | - On pressing <kbd>**Ctrl**</kbd>/<kbd>**Cmd**</kbd
|
1149
|
+
* | `true` (default) | - On pressing <kbd>**Ctrl**</kbd>/<kbd>**Cmd**</kbd>+<kbd>**C**</kbd>, add the cell's value to the clipboard |
|
1150
|
+
* | `false`<br>(default for the [`password`](@/guides/cell-types/password-cell-type.md) [cell type](#type)) | - On pressing <kbd>**Ctrl**</kbd>/<kbd>**Cmd**</kbd>+<kbd>**C**</kbd>, add an empty string (`""`) to the clipboard |
|
1151
1151
|
*
|
1152
1152
|
* Read more:
|
1153
1153
|
* - [Clipboard](@/guides/cell-features/clipboard.md)
|
@@ -1897,8 +1897,8 @@ export default (() => {
|
|
1897
1897
|
*
|
1898
1898
|
* | Property | Type | Description |
|
1899
1899
|
* | -------- | ------ | -------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
1900
|
-
* | `col` | Number | - On pressing <kbd>**Enter**</kbd>, move selection `col` columns right<br>- On pressing <kbd>**Shift**</kbd
|
1901
|
-
* | `row` | Number | - On pressing <kbd>**Enter**</kbd>, move selection `row` rows down<br>- On pressing <kbd>**Shift**</kbd
|
1900
|
+
* | `col` | Number | - On pressing <kbd>**Enter**</kbd>, move selection `col` columns right<br>- On pressing <kbd>**Shift**</kbd>+<kbd>**Enter**</kbd>, move selection `col` columns left |
|
1901
|
+
* | `row` | Number | - On pressing <kbd>**Enter**</kbd>, move selection `row` rows down<br>- On pressing <kbd>**Shift**</kbd>+<kbd>**Enter**</kbd>, move selection `row` rows up |
|
1902
1902
|
*
|
1903
1903
|
* Read more:
|
1904
1904
|
* - [`enterBeginsEditing`](#enterBeginsEditing)
|
@@ -3765,13 +3765,13 @@ export default (() => {
|
|
3765
3765
|
* | Option | Possible settings | Description |
|
3766
3766
|
* | ------------------- | ----------------- | ---------------------------------------------------------------------------------------------------- |
|
3767
3767
|
* | `searchResultClass` | A string | Add a custom CSS class name to search results |
|
3768
|
-
* | `queryMethod` | A function | Add a [custom query method](@/guides/
|
3769
|
-
* | `callback` | A function | Add a [custom callback function](@/guides/
|
3768
|
+
* | `queryMethod` | A function | Add a [custom query method](@/guides/navigation/searching-values.md#custom-query-method) |
|
3769
|
+
* | `callback` | A function | Add a [custom callback function](@/guides/navigation/searching-values.md#custom-callback) |
|
3770
3770
|
*
|
3771
3771
|
* Read more:
|
3772
|
-
* - [Searching values](@/guides/
|
3773
|
-
* - [Searching values: Custom query method](@/guides/
|
3774
|
-
* - [Searching values: Custom callback](@/guides/
|
3772
|
+
* - [Searching values](@/guides/navigation/searching-values.md)
|
3773
|
+
* - [Searching values: Custom query method](@/guides/navigation/searching-values.md#custom-query-method)
|
3774
|
+
* - [Searching values: Custom callback](@/guides/navigation/searching-values.md#custom-callback)
|
3775
3775
|
*
|
3776
3776
|
* @memberof Options#
|
3777
3777
|
* @type {boolean|object}
|
@@ -4184,8 +4184,8 @@ export default (() => {
|
|
4184
4184
|
*
|
4185
4185
|
* | Property | Type | Description |
|
4186
4186
|
* | -------- | ------ | -------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
4187
|
-
* | `row` | Number | - On pressing <kbd>**Tab**</kbd>, move selection `row` rows down<br>- On pressing <kbd>**Shift**</kbd
|
4188
|
-
* | `col` | Number | - On pressing <kbd>**Tab**</kbd>, move selection `col` columns right<br>- On pressing <kbd>**Shift**</kbd
|
4187
|
+
* | `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 |
|
4188
|
+
* | `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 |
|
4189
4189
|
*
|
4190
4190
|
* @memberof Options#
|
4191
4191
|
* @type {object|Function}
|
package/dist/handsontable.css
CHANGED
@@ -25,8 +25,8 @@
|
|
25
25
|
* INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY CHARACTER ARISING FROM
|
26
26
|
* USE OR INABILITY TO USE THIS SOFTWARE.
|
27
27
|
*
|
28
|
-
* Version: 14.0.0-next-
|
29
|
-
* Release date: 30/11/2023 (built at
|
28
|
+
* Version: 14.0.0-next-0f92d92-20231130
|
29
|
+
* Release date: 30/11/2023 (built at 30/11/2023 09:26:42)
|
30
30
|
*/
|
31
31
|
/**
|
32
32
|
* Fix for bootstrap styles
|
@@ -25,8 +25,8 @@
|
|
25
25
|
* INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY CHARACTER ARISING FROM
|
26
26
|
* USE OR INABILITY TO USE THIS SOFTWARE.
|
27
27
|
*
|
28
|
-
* Version: 14.0.0-next-
|
29
|
-
* Release date: 30/11/2023 (built at
|
28
|
+
* Version: 14.0.0-next-0f92d92-20231130
|
29
|
+
* Release date: 30/11/2023 (built at 30/11/2023 09:26:42)
|
30
30
|
*/
|
31
31
|
/**
|
32
32
|
* Fix for bootstrap styles
|