handsontable 0.0.0-next-30767dd-20250207 → 0.0.0-next-8951d31-20250210
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.
Potentially problematic release.
This version of handsontable might be problematic. Click here for more details.
- package/3rdparty/walkontable/src/calculator/viewportColumns.js +1 -5
- package/3rdparty/walkontable/src/calculator/viewportColumns.mjs +1 -5
- package/3rdparty/walkontable/src/calculator/viewportRows.js +1 -5
- package/3rdparty/walkontable/src/calculator/viewportRows.mjs +1 -5
- package/3rdparty/walkontable/src/overlay/inlineStart.js +1 -8
- package/3rdparty/walkontable/src/overlay/inlineStart.mjs +1 -8
- package/3rdparty/walkontable/src/overlay/top.js +1 -9
- package/3rdparty/walkontable/src/overlay/top.mjs +1 -9
- package/3rdparty/walkontable/src/renderer/cells.js +4 -1
- package/3rdparty/walkontable/src/renderer/cells.mjs +4 -1
- package/3rdparty/walkontable/src/renderer/columnHeaders.js +4 -1
- package/3rdparty/walkontable/src/renderer/columnHeaders.mjs +4 -1
- package/3rdparty/walkontable/src/renderer/rowHeaders.js +3 -0
- package/3rdparty/walkontable/src/renderer/rowHeaders.mjs +3 -0
- package/3rdparty/walkontable/src/table.js +5 -146
- package/3rdparty/walkontable/src/table.mjs +5 -146
- package/3rdparty/walkontable/src/utils/column.js +4 -25
- package/3rdparty/walkontable/src/utils/column.mjs +4 -25
- package/3rdparty/walkontable/src/utils/row.js +2 -12
- package/3rdparty/walkontable/src/utils/row.mjs +2 -12
- package/3rdparty/walkontable/src/viewport.js +2 -36
- package/3rdparty/walkontable/src/viewport.mjs +2 -36
- package/base.js +2 -2
- package/base.mjs +2 -2
- package/core.js +4 -54
- package/core.mjs +4 -54
- package/dist/handsontable.css +2 -2
- package/dist/handsontable.full.css +2 -2
- package/dist/handsontable.full.js +56 -333
- package/dist/handsontable.full.min.css +2 -2
- package/dist/handsontable.full.min.js +9 -9
- package/dist/handsontable.js +51 -322
- package/dist/handsontable.min.css +2 -2
- package/dist/handsontable.min.js +15 -15
- package/helpers/mixed.js +1 -1
- package/helpers/mixed.mjs +1 -1
- package/package.json +1 -1
- package/plugins/copyPaste/copyPaste.js +6 -12
- package/plugins/copyPaste/copyPaste.mjs +6 -12
- package/renderers/textRenderer/textRenderer.js +8 -3
- package/renderers/textRenderer/textRenderer.mjs +8 -3
- package/styles/handsontable.css +2 -2
- package/styles/handsontable.min.css +2 -2
- package/styles/ht-theme-horizon.css +2 -2
- package/styles/ht-theme-horizon.min.css +2 -2
- package/styles/ht-theme-main.css +2 -2
- package/styles/ht-theme-main.min.css +2 -2
|
@@ -36,8 +36,7 @@ export default class ColumnUtils {
|
|
|
36
36
|
* @returns {number}
|
|
37
37
|
*/
|
|
38
38
|
getWidth(sourceIndex) {
|
|
39
|
-
|
|
40
|
-
return width;
|
|
39
|
+
return this.wtSettings.getSetting('columnWidth', sourceIndex);
|
|
41
40
|
}
|
|
42
41
|
|
|
43
42
|
/**
|
|
@@ -47,12 +46,7 @@ export default class ColumnUtils {
|
|
|
47
46
|
* @returns {number}
|
|
48
47
|
*/
|
|
49
48
|
getHeaderHeight(level) {
|
|
50
|
-
|
|
51
|
-
const oversizedHeight = this.dataAccessObject.wtViewport.oversizedColumnHeaders[level];
|
|
52
|
-
if (oversizedHeight !== undefined) {
|
|
53
|
-
height = height ? Math.max(height, oversizedHeight) : oversizedHeight;
|
|
54
|
-
}
|
|
55
|
-
return height;
|
|
49
|
+
return this.dataAccessObject.stylesHandler.getDefaultRowHeight();
|
|
56
50
|
}
|
|
57
51
|
|
|
58
52
|
/**
|
|
@@ -62,26 +56,11 @@ export default class ColumnUtils {
|
|
|
62
56
|
* @returns {number}
|
|
63
57
|
*/
|
|
64
58
|
getHeaderWidth(sourceIndex) {
|
|
65
|
-
return
|
|
59
|
+
return 50;
|
|
66
60
|
}
|
|
67
61
|
|
|
68
62
|
/**
|
|
69
63
|
* Calculates column header widths that can be retrieved from the cache.
|
|
70
64
|
*/
|
|
71
|
-
calculateWidths() {
|
|
72
|
-
const {
|
|
73
|
-
wtSettings
|
|
74
|
-
} = this;
|
|
75
|
-
let rowHeaderWidthSetting = wtSettings.getSetting('rowHeaderWidth');
|
|
76
|
-
rowHeaderWidthSetting = wtSettings.getSetting('onModifyRowHeaderWidth', rowHeaderWidthSetting);
|
|
77
|
-
if (rowHeaderWidthSetting !== null && rowHeaderWidthSetting !== undefined) {
|
|
78
|
-
const rowHeadersCount = wtSettings.getSetting('rowHeaders').length;
|
|
79
|
-
const defaultColumnWidth = wtSettings.getSetting('defaultColumnWidth');
|
|
80
|
-
for (let visibleColumnIndex = 0; visibleColumnIndex < rowHeadersCount; visibleColumnIndex++) {
|
|
81
|
-
let width = Array.isArray(rowHeaderWidthSetting) ? rowHeaderWidthSetting[visibleColumnIndex] : rowHeaderWidthSetting;
|
|
82
|
-
width = width === null || width === undefined ? defaultColumnWidth : width;
|
|
83
|
-
this.headerWidths.set(visibleColumnIndex, width);
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
}
|
|
65
|
+
calculateWidths() {}
|
|
87
66
|
}
|
|
@@ -35,12 +35,7 @@ class RowUtils {
|
|
|
35
35
|
* @returns {number}
|
|
36
36
|
*/
|
|
37
37
|
getHeight(sourceIndex) {
|
|
38
|
-
|
|
39
|
-
const oversizedHeight = this.dataAccessObject.wtViewport.oversizedRows[sourceIndex];
|
|
40
|
-
if (oversizedHeight !== undefined) {
|
|
41
|
-
height = height === undefined ? oversizedHeight : Math.max(height, oversizedHeight);
|
|
42
|
-
}
|
|
43
|
-
return height;
|
|
38
|
+
return this.wtSettings.getSetting('rowHeight', sourceIndex);
|
|
44
39
|
}
|
|
45
40
|
|
|
46
41
|
/**
|
|
@@ -51,12 +46,7 @@ class RowUtils {
|
|
|
51
46
|
* @returns {number}
|
|
52
47
|
*/
|
|
53
48
|
getHeightByOverlayName(sourceIndex, overlayName) {
|
|
54
|
-
|
|
55
|
-
const oversizedHeight = this.dataAccessObject.wtViewport.oversizedRows[sourceIndex];
|
|
56
|
-
if (oversizedHeight !== undefined) {
|
|
57
|
-
height = height === undefined ? oversizedHeight : Math.max(height, oversizedHeight);
|
|
58
|
-
}
|
|
59
|
-
return height;
|
|
49
|
+
return this.wtSettings.getSetting('rowHeight', sourceIndex);
|
|
60
50
|
}
|
|
61
51
|
}
|
|
62
52
|
exports.default = RowUtils;
|
|
@@ -32,12 +32,7 @@ export default class RowUtils {
|
|
|
32
32
|
* @returns {number}
|
|
33
33
|
*/
|
|
34
34
|
getHeight(sourceIndex) {
|
|
35
|
-
|
|
36
|
-
const oversizedHeight = this.dataAccessObject.wtViewport.oversizedRows[sourceIndex];
|
|
37
|
-
if (oversizedHeight !== undefined) {
|
|
38
|
-
height = height === undefined ? oversizedHeight : Math.max(height, oversizedHeight);
|
|
39
|
-
}
|
|
40
|
-
return height;
|
|
35
|
+
return this.wtSettings.getSetting('rowHeight', sourceIndex);
|
|
41
36
|
}
|
|
42
37
|
|
|
43
38
|
/**
|
|
@@ -48,11 +43,6 @@ export default class RowUtils {
|
|
|
48
43
|
* @returns {number}
|
|
49
44
|
*/
|
|
50
45
|
getHeightByOverlayName(sourceIndex, overlayName) {
|
|
51
|
-
|
|
52
|
-
const oversizedHeight = this.dataAccessObject.wtViewport.oversizedRows[sourceIndex];
|
|
53
|
-
if (oversizedHeight !== undefined) {
|
|
54
|
-
height = height === undefined ? oversizedHeight : Math.max(height, oversizedHeight);
|
|
55
|
-
}
|
|
56
|
-
return height;
|
|
46
|
+
return this.wtSettings.getSetting('rowHeight', sourceIndex);
|
|
57
47
|
}
|
|
58
48
|
}
|
|
@@ -24,7 +24,6 @@ class Viewport {
|
|
|
24
24
|
this.domBindings = domBindings;
|
|
25
25
|
this.wtSettings = wtSettings;
|
|
26
26
|
this.wtTable = wtTable;
|
|
27
|
-
this.oversizedRows = [];
|
|
28
27
|
this.oversizedColumnHeaders = [];
|
|
29
28
|
this.hasOversizedColumnHeadersMarked = {};
|
|
30
29
|
this.clientHeight = 0;
|
|
@@ -179,47 +178,14 @@ class Viewport {
|
|
|
179
178
|
* @returns {number}
|
|
180
179
|
*/
|
|
181
180
|
getColumnHeaderHeight() {
|
|
182
|
-
|
|
183
|
-
if (!columnHeaders.length) {
|
|
184
|
-
this.columnHeaderHeight = 0;
|
|
185
|
-
} else if (isNaN(this.columnHeaderHeight)) {
|
|
186
|
-
this.columnHeaderHeight = (0, _element.outerHeight)(this.wtTable.THEAD);
|
|
187
|
-
}
|
|
188
|
-
return this.columnHeaderHeight;
|
|
181
|
+
return 59;
|
|
189
182
|
}
|
|
190
183
|
|
|
191
184
|
/**
|
|
192
185
|
* @returns {number}
|
|
193
186
|
*/
|
|
194
187
|
getRowHeaderWidth() {
|
|
195
|
-
|
|
196
|
-
const rowHeaders = this.wtSettings.getSetting('rowHeaders');
|
|
197
|
-
if (rowHeadersWidthSetting) {
|
|
198
|
-
this.rowHeaderWidth = 0;
|
|
199
|
-
for (let i = 0, len = rowHeaders.length; i < len; i++) {
|
|
200
|
-
this.rowHeaderWidth += rowHeadersWidthSetting[i] || rowHeadersWidthSetting;
|
|
201
|
-
}
|
|
202
|
-
}
|
|
203
|
-
if (isNaN(this.rowHeaderWidth)) {
|
|
204
|
-
if (rowHeaders.length) {
|
|
205
|
-
let TH = this.wtTable.TABLE.querySelector('TH');
|
|
206
|
-
this.rowHeaderWidth = 0;
|
|
207
|
-
for (let i = 0, len = rowHeaders.length; i < len; i++) {
|
|
208
|
-
if (TH) {
|
|
209
|
-
this.rowHeaderWidth += (0, _element.outerWidth)(TH);
|
|
210
|
-
TH = TH.nextSibling;
|
|
211
|
-
} else {
|
|
212
|
-
// yes this is a cheat but it worked like that before, just taking assumption from CSS instead of measuring.
|
|
213
|
-
// TODO: proper fix
|
|
214
|
-
this.rowHeaderWidth += 50;
|
|
215
|
-
}
|
|
216
|
-
}
|
|
217
|
-
} else {
|
|
218
|
-
this.rowHeaderWidth = 0;
|
|
219
|
-
}
|
|
220
|
-
}
|
|
221
|
-
this.rowHeaderWidth = this.wtSettings.getSetting('onModifyRowHeaderWidth', this.rowHeaderWidth) || this.rowHeaderWidth;
|
|
222
|
-
return this.rowHeaderWidth;
|
|
188
|
+
return 50;
|
|
223
189
|
}
|
|
224
190
|
|
|
225
191
|
/**
|
|
@@ -21,7 +21,6 @@ class Viewport {
|
|
|
21
21
|
this.domBindings = domBindings;
|
|
22
22
|
this.wtSettings = wtSettings;
|
|
23
23
|
this.wtTable = wtTable;
|
|
24
|
-
this.oversizedRows = [];
|
|
25
24
|
this.oversizedColumnHeaders = [];
|
|
26
25
|
this.hasOversizedColumnHeadersMarked = {};
|
|
27
26
|
this.clientHeight = 0;
|
|
@@ -176,47 +175,14 @@ class Viewport {
|
|
|
176
175
|
* @returns {number}
|
|
177
176
|
*/
|
|
178
177
|
getColumnHeaderHeight() {
|
|
179
|
-
|
|
180
|
-
if (!columnHeaders.length) {
|
|
181
|
-
this.columnHeaderHeight = 0;
|
|
182
|
-
} else if (isNaN(this.columnHeaderHeight)) {
|
|
183
|
-
this.columnHeaderHeight = outerHeight(this.wtTable.THEAD);
|
|
184
|
-
}
|
|
185
|
-
return this.columnHeaderHeight;
|
|
178
|
+
return 59;
|
|
186
179
|
}
|
|
187
180
|
|
|
188
181
|
/**
|
|
189
182
|
* @returns {number}
|
|
190
183
|
*/
|
|
191
184
|
getRowHeaderWidth() {
|
|
192
|
-
|
|
193
|
-
const rowHeaders = this.wtSettings.getSetting('rowHeaders');
|
|
194
|
-
if (rowHeadersWidthSetting) {
|
|
195
|
-
this.rowHeaderWidth = 0;
|
|
196
|
-
for (let i = 0, len = rowHeaders.length; i < len; i++) {
|
|
197
|
-
this.rowHeaderWidth += rowHeadersWidthSetting[i] || rowHeadersWidthSetting;
|
|
198
|
-
}
|
|
199
|
-
}
|
|
200
|
-
if (isNaN(this.rowHeaderWidth)) {
|
|
201
|
-
if (rowHeaders.length) {
|
|
202
|
-
let TH = this.wtTable.TABLE.querySelector('TH');
|
|
203
|
-
this.rowHeaderWidth = 0;
|
|
204
|
-
for (let i = 0, len = rowHeaders.length; i < len; i++) {
|
|
205
|
-
if (TH) {
|
|
206
|
-
this.rowHeaderWidth += outerWidth(TH);
|
|
207
|
-
TH = TH.nextSibling;
|
|
208
|
-
} else {
|
|
209
|
-
// yes this is a cheat but it worked like that before, just taking assumption from CSS instead of measuring.
|
|
210
|
-
// TODO: proper fix
|
|
211
|
-
this.rowHeaderWidth += 50;
|
|
212
|
-
}
|
|
213
|
-
}
|
|
214
|
-
} else {
|
|
215
|
-
this.rowHeaderWidth = 0;
|
|
216
|
-
}
|
|
217
|
-
}
|
|
218
|
-
this.rowHeaderWidth = this.wtSettings.getSetting('onModifyRowHeaderWidth', this.rowHeaderWidth) || this.rowHeaderWidth;
|
|
219
|
-
return this.rowHeaderWidth;
|
|
185
|
+
return 50;
|
|
220
186
|
}
|
|
221
187
|
|
|
222
188
|
/**
|
package/base.js
CHANGED
|
@@ -45,8 +45,8 @@ Handsontable.hooks = _hooks.Hooks.getSingleton();
|
|
|
45
45
|
Handsontable.CellCoords = _src.CellCoords;
|
|
46
46
|
Handsontable.CellRange = _src.CellRange;
|
|
47
47
|
Handsontable.packageName = 'handsontable';
|
|
48
|
-
Handsontable.buildDate = "
|
|
49
|
-
Handsontable.version = "0.0.0-next-
|
|
48
|
+
Handsontable.buildDate = "10/02/2025 11:00:12";
|
|
49
|
+
Handsontable.version = "0.0.0-next-8951d31-20250210";
|
|
50
50
|
Handsontable.languages = {
|
|
51
51
|
dictionaryKeys: _registry.dictionaryKeys,
|
|
52
52
|
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 = "0.0.0-next-
|
|
38
|
+
Handsontable.buildDate = "10/02/2025 11:00:18";
|
|
39
|
+
Handsontable.version = "0.0.0-next-8951d31-20250210";
|
|
40
40
|
Handsontable.languages = {
|
|
41
41
|
dictionaryKeys,
|
|
42
42
|
getLanguageDictionary,
|
package/core.js
CHANGED
|
@@ -3495,33 +3495,7 @@ function Core(rootElement, userSettings) {
|
|
|
3495
3495
|
* @returns {number}
|
|
3496
3496
|
*/
|
|
3497
3497
|
this._getColWidthFromSettings = function (col) {
|
|
3498
|
-
|
|
3499
|
-
|
|
3500
|
-
// We currently don't support cell meta objects for headers (negative values)
|
|
3501
|
-
if (col >= 0) {
|
|
3502
|
-
const cellProperties = instance.getCellMeta(0, col);
|
|
3503
|
-
width = cellProperties.width;
|
|
3504
|
-
}
|
|
3505
|
-
if (width === undefined || width === tableMeta.width) {
|
|
3506
|
-
width = tableMeta.colWidths;
|
|
3507
|
-
}
|
|
3508
|
-
if (width !== undefined && width !== null) {
|
|
3509
|
-
switch (typeof width) {
|
|
3510
|
-
case 'object':
|
|
3511
|
-
// array
|
|
3512
|
-
width = width[col];
|
|
3513
|
-
break;
|
|
3514
|
-
case 'function':
|
|
3515
|
-
width = width(col);
|
|
3516
|
-
break;
|
|
3517
|
-
default:
|
|
3518
|
-
break;
|
|
3519
|
-
}
|
|
3520
|
-
if (typeof width === 'string') {
|
|
3521
|
-
width = parseInt(width, 10);
|
|
3522
|
-
}
|
|
3523
|
-
}
|
|
3524
|
-
return width;
|
|
3498
|
+
return tableMeta.colWidths[col];
|
|
3525
3499
|
};
|
|
3526
3500
|
|
|
3527
3501
|
/**
|
|
@@ -3535,12 +3509,7 @@ function Core(rootElement, userSettings) {
|
|
|
3535
3509
|
* @fires Hooks#modifyColWidth
|
|
3536
3510
|
*/
|
|
3537
3511
|
this.getColWidth = function (column, source) {
|
|
3538
|
-
|
|
3539
|
-
width = instance.runHooks('modifyColWidth', width, column, source);
|
|
3540
|
-
if (width === undefined) {
|
|
3541
|
-
width = _src.DEFAULT_COLUMN_WIDTH;
|
|
3542
|
-
}
|
|
3543
|
-
return width;
|
|
3512
|
+
return instance._getColWidthFromSettings(column);
|
|
3544
3513
|
};
|
|
3545
3514
|
|
|
3546
3515
|
/**
|
|
@@ -3553,24 +3522,7 @@ function Core(rootElement, userSettings) {
|
|
|
3553
3522
|
* @returns {number}
|
|
3554
3523
|
*/
|
|
3555
3524
|
this._getRowHeightFromSettings = function (row) {
|
|
3556
|
-
|
|
3557
|
-
if (height !== undefined && height !== null) {
|
|
3558
|
-
switch (typeof height) {
|
|
3559
|
-
case 'object':
|
|
3560
|
-
// array
|
|
3561
|
-
height = height[row];
|
|
3562
|
-
break;
|
|
3563
|
-
case 'function':
|
|
3564
|
-
height = height(row);
|
|
3565
|
-
break;
|
|
3566
|
-
default:
|
|
3567
|
-
break;
|
|
3568
|
-
}
|
|
3569
|
-
if (typeof height === 'string') {
|
|
3570
|
-
height = parseInt(height, 10);
|
|
3571
|
-
}
|
|
3572
|
-
}
|
|
3573
|
-
return height;
|
|
3525
|
+
return tableMeta.rowHeights;
|
|
3574
3526
|
};
|
|
3575
3527
|
|
|
3576
3528
|
/**
|
|
@@ -3601,9 +3553,7 @@ function Core(rootElement, userSettings) {
|
|
|
3601
3553
|
* @fires Hooks#modifyRowHeight
|
|
3602
3554
|
*/
|
|
3603
3555
|
this.getRowHeight = function (row, source) {
|
|
3604
|
-
|
|
3605
|
-
height = instance.runHooks('modifyRowHeight', height, row, source);
|
|
3606
|
-
return height;
|
|
3556
|
+
return instance._getRowHeightFromSettings(row);
|
|
3607
3557
|
};
|
|
3608
3558
|
|
|
3609
3559
|
/**
|
package/core.mjs
CHANGED
|
@@ -3490,33 +3490,7 @@ export default function Core(rootElement, userSettings) {
|
|
|
3490
3490
|
* @returns {number}
|
|
3491
3491
|
*/
|
|
3492
3492
|
this._getColWidthFromSettings = function (col) {
|
|
3493
|
-
|
|
3494
|
-
|
|
3495
|
-
// We currently don't support cell meta objects for headers (negative values)
|
|
3496
|
-
if (col >= 0) {
|
|
3497
|
-
const cellProperties = instance.getCellMeta(0, col);
|
|
3498
|
-
width = cellProperties.width;
|
|
3499
|
-
}
|
|
3500
|
-
if (width === undefined || width === tableMeta.width) {
|
|
3501
|
-
width = tableMeta.colWidths;
|
|
3502
|
-
}
|
|
3503
|
-
if (width !== undefined && width !== null) {
|
|
3504
|
-
switch (typeof width) {
|
|
3505
|
-
case 'object':
|
|
3506
|
-
// array
|
|
3507
|
-
width = width[col];
|
|
3508
|
-
break;
|
|
3509
|
-
case 'function':
|
|
3510
|
-
width = width(col);
|
|
3511
|
-
break;
|
|
3512
|
-
default:
|
|
3513
|
-
break;
|
|
3514
|
-
}
|
|
3515
|
-
if (typeof width === 'string') {
|
|
3516
|
-
width = parseInt(width, 10);
|
|
3517
|
-
}
|
|
3518
|
-
}
|
|
3519
|
-
return width;
|
|
3493
|
+
return tableMeta.colWidths[col];
|
|
3520
3494
|
};
|
|
3521
3495
|
|
|
3522
3496
|
/**
|
|
@@ -3530,12 +3504,7 @@ export default function Core(rootElement, userSettings) {
|
|
|
3530
3504
|
* @fires Hooks#modifyColWidth
|
|
3531
3505
|
*/
|
|
3532
3506
|
this.getColWidth = function (column, source) {
|
|
3533
|
-
|
|
3534
|
-
width = instance.runHooks('modifyColWidth', width, column, source);
|
|
3535
|
-
if (width === undefined) {
|
|
3536
|
-
width = DEFAULT_COLUMN_WIDTH;
|
|
3537
|
-
}
|
|
3538
|
-
return width;
|
|
3507
|
+
return instance._getColWidthFromSettings(column);
|
|
3539
3508
|
};
|
|
3540
3509
|
|
|
3541
3510
|
/**
|
|
@@ -3548,24 +3517,7 @@ export default function Core(rootElement, userSettings) {
|
|
|
3548
3517
|
* @returns {number}
|
|
3549
3518
|
*/
|
|
3550
3519
|
this._getRowHeightFromSettings = function (row) {
|
|
3551
|
-
|
|
3552
|
-
if (height !== undefined && height !== null) {
|
|
3553
|
-
switch (typeof height) {
|
|
3554
|
-
case 'object':
|
|
3555
|
-
// array
|
|
3556
|
-
height = height[row];
|
|
3557
|
-
break;
|
|
3558
|
-
case 'function':
|
|
3559
|
-
height = height(row);
|
|
3560
|
-
break;
|
|
3561
|
-
default:
|
|
3562
|
-
break;
|
|
3563
|
-
}
|
|
3564
|
-
if (typeof height === 'string') {
|
|
3565
|
-
height = parseInt(height, 10);
|
|
3566
|
-
}
|
|
3567
|
-
}
|
|
3568
|
-
return height;
|
|
3520
|
+
return tableMeta.rowHeights;
|
|
3569
3521
|
};
|
|
3570
3522
|
|
|
3571
3523
|
/**
|
|
@@ -3596,9 +3548,7 @@ export default function Core(rootElement, userSettings) {
|
|
|
3596
3548
|
* @fires Hooks#modifyRowHeight
|
|
3597
3549
|
*/
|
|
3598
3550
|
this.getRowHeight = function (row, source) {
|
|
3599
|
-
|
|
3600
|
-
height = instance.runHooks('modifyRowHeight', height, row, source);
|
|
3601
|
-
return height;
|
|
3551
|
+
return instance._getRowHeightFromSettings(row);
|
|
3602
3552
|
};
|
|
3603
3553
|
|
|
3604
3554
|
/**
|
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: 0.0.0-next-
|
|
29
|
-
* Release date: 16/12/2024 (built at
|
|
28
|
+
* Version: 0.0.0-next-8951d31-20250210
|
|
29
|
+
* Release date: 16/12/2024 (built at 10/02/2025 11:00:39)
|
|
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: 0.0.0-next-
|
|
29
|
-
* Release date: 16/12/2024 (built at
|
|
28
|
+
* Version: 0.0.0-next-8951d31-20250210
|
|
29
|
+
* Release date: 16/12/2024 (built at 10/02/2025 11:00:39)
|
|
30
30
|
*/
|
|
31
31
|
/**
|
|
32
32
|
* Fix for bootstrap styles
|