handsontable 14.0.0-next-78ff0b3-20231129 → 14.0.0-next-ecaa005-20231130
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +66 -53
- package/base.js +2 -2
- package/base.mjs +2 -2
- package/core.js +17 -9
- package/core.mjs +17 -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 +42 -32
- package/dist/handsontable.full.min.css +2 -2
- package/dist/handsontable.full.min.js +3 -3
- package/dist/handsontable.js +42 -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,69 @@ 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
|
+
|
72
|
+
For more information on Handsontable 14.0.0, see:
|
73
|
+
|
74
|
+
- [Blog post (14.0.0)](https://handsontable.com/blog/whats-new-in-handsontable-14-improvements-to-accessibility)
|
75
|
+
- [Documentation (14.0)](https://handsontable.com/docs/14.0)
|
76
|
+
- [Release notes (14.0.0)](https://handsontable.com/docs/release-notes/#_14-0-0)
|
77
|
+
- [Migration guide (13.1 → 14.0)](https://handsontable.com/docs/migration-from-13.1.0-to-14.0/)
|
65
78
|
|
66
79
|
## [13.1.0] - 2023-08-31
|
67
80
|
|
@@ -441,7 +454,7 @@ For more information on Handsontable 12.0.1, see:
|
|
441
454
|
- Added an Arabic translation. [#9208](https://github.com/handsontable/handsontable/issues/9208)
|
442
455
|
- Added a new configuration option: `fixedColumnsStart`.
|
443
456
|
[#8760](https://github.com/handsontable/handsontable/issues/8760)
|
444
|
-
- Added a new keyboard shortcut (<kbd>Ctrl</kbd>/<kbd>Cmd</kbd
|
457
|
+
- Added a new keyboard shortcut (<kbd>Ctrl</kbd>/<kbd>Cmd</kbd>+<kbd>Enter</kbd>) for filling the
|
445
458
|
selected range of cells with the value of the active cell.
|
446
459
|
[#9366](https://github.com/handsontable/handsontable/issues/9366)
|
447
460
|
- Added support for the <kbd>Home</kbd> and <kbd>End</kbd> keys inside cell editors, for moving the
|
@@ -472,23 +485,23 @@ For more information on Handsontable 12.0.1, see:
|
|
472
485
|
[keyboard shortcuts](https://handsontable.com/docs/keyboard-shortcuts/#default-keyboard-shortcuts)
|
473
486
|
guide. However, some shortcuts that were not defined explicitly, and were not listed in the
|
474
487
|
documentation, don't work anymore (e.g., <kbd>Enter</kbd> opens a cell's editor, but
|
475
|
-
<kbd>Ctrl</kbd
|
488
|
+
<kbd>Ctrl</kbd>+<kbd>Enter</kbd> doesn't). This change doesn't affect custom keyboard shortcuts.
|
476
489
|
[#8942](https://github.com/handsontable/handsontable/issues/8942)
|
477
490
|
- **Breaking change**: Split a cross-platform modifier key (<kbd>Ctrl</kbd>/<kbd>Cmd</kbd>) into two
|
478
491
|
separate keys, to improve keyboard navigation consistency. Now, the <kbd>Cmd</kbd> key triggers
|
479
492
|
actions on macOS where the <kbd>Ctrl</kbd> key triggers actions on Windows. For example, on macOS,
|
480
|
-
<kbd>Ctrl</kbd
|
493
|
+
<kbd>Ctrl</kbd>+<kbd>A</kbd> doesn't work anymore: <kbd>Cmd</kbd>+<kbd>A</kbd> is used
|
481
494
|
instead. [#9369](https://github.com/handsontable/handsontable/issues/9369)
|
482
495
|
- **Breaking change**: Changed the actions of the following
|
483
496
|
[keyboard shortcuts](https://handsontable.com/docs/keyboard-shortcuts/#default-keyboard-shortcuts),
|
484
497
|
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
|
498
|
+
<kbd>Ctrl</kbd>/<kbd>Cmd</kbd>+<kbd>↑</kbd>, <kbd>Ctrl</kbd>/<kbd>Cmd</kbd>+<kbd>Shift</kbd> +
|
499
|
+
<kbd>↑</kbd>, <kbd>Ctrl</kbd>/<kbd>Cmd</kbd>+<kbd>↓</kbd>, <kbd>Ctrl</kbd>/<kbd>Cmd</kbd> +
|
500
|
+
<kbd>Shift</kbd>+<kbd>↓</kbd>, <kbd>Ctrl</kbd>/<kbd>Cmd</kbd>+<kbd>←</kbd>,
|
501
|
+
<kbd>Ctrl</kbd>/<kbd>Cmd</kbd>+<kbd>Shift</kbd>+<kbd>←</kbd>, <kbd>Ctrl</kbd>/<kbd>Cmd</kbd> +
|
502
|
+
<kbd>→</kbd>, <kbd>Ctrl</kbd>/<kbd>Cmd</kbd>+<kbd>Shift</kbd>+<kbd>→</kbd>, <kbd>Home</kbd>,
|
503
|
+
<kbd>Ctrl</kbd>/<kbd>Cmd</kbd>+<kbd>Home</kbd>, <kbd>End</kbd>, <kbd>Ctrl</kbd>/<kbd>Cmd</kbd> +
|
504
|
+
<kbd>End</kbd>, <kbd>Shift</kbd>+<kbd>Page Up</kbd>, and <kbd>Shift</kbd>+<kbd>Page
|
492
505
|
Down</kbd>. [#9363](https://github.com/handsontable/handsontable/issues/9363)
|
493
506
|
[#9364](https://github.com/handsontable/handsontable/issues/9364)
|
494
507
|
[#9365](https://github.com/handsontable/handsontable/issues/9365)
|
@@ -507,11 +520,11 @@ For more information on Handsontable 12.0.1, see:
|
|
507
520
|
|
508
521
|
### Removed
|
509
522
|
|
510
|
-
- **Breaking change**: Removed the <kbd>Cmd</kbd
|
511
|
-
merging), as it conflicted with window minimizing on macOS. The <kbd>Ctrl</kbd
|
523
|
+
- **Breaking change**: Removed the <kbd>Cmd</kbd>+<kbd>M</kbd> keyboard shortcut (used for cell
|
524
|
+
merging), as it conflicted with window minimizing on macOS. The <kbd>Ctrl</kbd>+<kbd>M</kbd>
|
512
525
|
keyboard shortcut works the same as before.
|
513
526
|
[#9368](https://github.com/handsontable/handsontable/issues/9368)
|
514
|
-
- **Breaking change**: Removed the <kbd>Shift</kbd
|
527
|
+
- **Breaking change**: Removed the <kbd>Shift</kbd>+<kbd>Page Up</kbd>/<kbd>Page Down</kbd>
|
515
528
|
keyboard shortcuts from the cell editing context.
|
516
529
|
[#9401](https://github.com/handsontable/handsontable/issues/9401)
|
517
530
|
- Dropped support for Internet Explorer 11 and Edge Legacy (the non-Chromium version of Edge).
|
@@ -542,8 +555,8 @@ For more information on Handsontable 12.0.1, see:
|
|
542
555
|
[#5455](https://github.com/handsontable/handsontable/issues/5455)
|
543
556
|
- Fixed a wrong TypeScript definition in the `BasePlugin` class.
|
544
557
|
[#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
|
558
|
+
- Fixed an issue where the <kbd>Ctrl</kbd>/<kbd>Cmd</kbd>+<kbd>Z</kbd> and
|
559
|
+
<kbd>Ctrl</kbd>/<kbd>Cmd</kbd>+<kbd>Shift</kbd>+<kbd>Z</kbd> keyboard shortcuts didn't behave
|
547
560
|
properly inside cell editors. [#9367](https://github.com/handsontable/handsontable/issues/9367)
|
548
561
|
- Fixed an issue where the dropdown menu contained unwanted rectangle elements.
|
549
562
|
[#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 08:40:42";
|
47
|
+
Handsontable.version = "14.0.0-next-ecaa005-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 08:40:48";
|
39
|
+
Handsontable.version = "14.0.0-next-ecaa005-20231130";
|
40
40
|
Handsontable.languages = {
|
41
41
|
dictionaryKeys,
|
42
42
|
getLanguageDictionary,
|
package/core.js
CHANGED
@@ -4008,22 +4008,23 @@ 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.
|
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); focusPosition { row: 2, col: 1 });
|
4025
4026
|
*
|
4026
|
-
* //
|
4027
|
+
* // Select all cells in the table, without headers and corner elements.
|
4027
4028
|
* hot.selectAll(false);
|
4028
4029
|
* ```
|
4029
4030
|
*
|
@@ -4035,11 +4036,18 @@ function Core(rootElement, userSettings) {
|
|
4035
4036
|
* @param {boolean} [includeColumnHeaders=false] `true` If the selection should include the column
|
4036
4037
|
* headers, `false` otherwise.
|
4037
4038
|
*
|
4038
|
-
* @param {object} [options] Additional object with options.
|
4039
|
+
* @param {object} [options] Additional object with options. Since 14.0.0
|
4039
4040
|
* @param {{row: number, col: number} | boolean} [options.focusPosition] The argument allows changing the cell/header
|
4040
4041
|
* focus position. The value takes an object with a `row` and `col` properties from -N to N, where
|
4041
4042
|
* negative values point to the headers and positive values point to the cell range. If `false`, the focus
|
4042
|
-
* position won't be changed.
|
4043
|
+
* position won't be changed. Example:
|
4044
|
+
* ```js
|
4045
|
+
* hot.selectAll(0, 0, {
|
4046
|
+
* focusPosition: { row: 0, col: 1 },
|
4047
|
+
* disableHeadersHighlight: true
|
4048
|
+
* })
|
4049
|
+
* ```
|
4050
|
+
*
|
4043
4051
|
* @param {boolean} [options.disableHeadersHighlight] If `true`, disables highlighting the headers even when
|
4044
4052
|
* the logical coordinates points on them.
|
4045
4053
|
*/
|
package/core.mjs
CHANGED
@@ -4003,22 +4003,23 @@ 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.
|
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); focusPosition { row: 2, col: 1 });
|
4020
4021
|
*
|
4021
|
-
* //
|
4022
|
+
* // Select all cells in the table, without headers and corner elements.
|
4022
4023
|
* hot.selectAll(false);
|
4023
4024
|
* ```
|
4024
4025
|
*
|
@@ -4030,11 +4031,18 @@ export default function Core(rootElement, userSettings) {
|
|
4030
4031
|
* @param {boolean} [includeColumnHeaders=false] `true` If the selection should include the column
|
4031
4032
|
* headers, `false` otherwise.
|
4032
4033
|
*
|
4033
|
-
* @param {object} [options] Additional object with options.
|
4034
|
+
* @param {object} [options] Additional object with options. Since 14.0.0
|
4034
4035
|
* @param {{row: number, col: number} | boolean} [options.focusPosition] The argument allows changing the cell/header
|
4035
4036
|
* focus position. The value takes an object with a `row` and `col` properties from -N to N, where
|
4036
4037
|
* negative values point to the headers and positive values point to the cell range. If `false`, the focus
|
4037
|
-
* position won't be changed.
|
4038
|
+
* position won't be changed. Example:
|
4039
|
+
* ```js
|
4040
|
+
* hot.selectAll(0, 0, {
|
4041
|
+
* focusPosition: { row: 0, col: 1 },
|
4042
|
+
* disableHeadersHighlight: true
|
4043
|
+
* })
|
4044
|
+
* ```
|
4045
|
+
*
|
4038
4046
|
* @param {boolean} [options.disableHeadersHighlight] If `true`, disables highlighting the headers even when
|
4039
4047
|
* the logical coordinates points on them.
|
4040
4048
|
*/
|
@@ -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-ecaa005-20231130
|
29
|
+
* Release date: 30/11/2023 (built at 30/11/2023 08:40:53)
|
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-ecaa005-20231130
|
29
|
+
* Release date: 30/11/2023 (built at 30/11/2023 08:40:53)
|
30
30
|
*/
|
31
31
|
/**
|
32
32
|
* Fix for bootstrap styles
|