tabulator-tables 5.4.0 → 5.4.1
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/bower.json +1 -1
- package/dist/js/tabulator.js +37 -3
- package/dist/js/tabulator.js.map +1 -1
- package/dist/js/tabulator.min.js +2 -2
- package/dist/js/tabulator.min.js.map +1 -1
- package/dist/js/tabulator_esm.js +37 -3
- package/dist/js/tabulator_esm.js.map +1 -1
- package/dist/js/tabulator_esm.min.js +2 -2
- package/dist/js/tabulator_esm.min.js.map +1 -1
- package/package.json +1 -1
- package/src/js/core/rendering/renderers/VirtualDomHorizontal.js +24 -0
- package/src/js/modules/Edit/List.js +1 -0
- package/src/js/modules/Filter/Filter.js +2 -2
- package/src/js/modules/GroupRows/GroupRows.js +8 -0
- package/src/js/modules/Page/Page.js +1 -0
package/bower.json
CHANGED
package/dist/js/tabulator.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* Tabulator v5.4.
|
|
1
|
+
/* Tabulator v5.4.1 (c) Oliver Folkerd 2022 */
|
|
2
2
|
(function (global, factory) {
|
|
3
3
|
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
|
|
4
4
|
typeof define === 'function' && define.amd ? define(factory) :
|
|
@@ -2339,6 +2339,12 @@
|
|
|
2339
2339
|
this.fitDataColActualWidthCheck(column);
|
|
2340
2340
|
|
|
2341
2341
|
this.rightCol++; // Don't move this below the >= check below
|
|
2342
|
+
|
|
2343
|
+
this.getVisibleRows().forEach((row) => {
|
|
2344
|
+
if(row.type !== "group"){
|
|
2345
|
+
row.modules.vdomHoz.rightCol = this.rightCol;
|
|
2346
|
+
}
|
|
2347
|
+
});
|
|
2342
2348
|
|
|
2343
2349
|
if(this.rightCol >= (this.columns.length - 1)){
|
|
2344
2350
|
this.vDomPadRight = 0;
|
|
@@ -2378,6 +2384,12 @@
|
|
|
2378
2384
|
});
|
|
2379
2385
|
|
|
2380
2386
|
this.leftCol--; // don't move this below the <= check below
|
|
2387
|
+
|
|
2388
|
+
this.getVisibleRows().forEach((row) => {
|
|
2389
|
+
if(row.type !== "group"){
|
|
2390
|
+
row.modules.vdomHoz.leftCol = this.leftCol;
|
|
2391
|
+
}
|
|
2392
|
+
});
|
|
2381
2393
|
|
|
2382
2394
|
if(this.leftCol <= 0){ // replicating logic in addColRight
|
|
2383
2395
|
this.vDomPadLeft = 0;
|
|
@@ -2430,6 +2442,12 @@
|
|
|
2430
2442
|
|
|
2431
2443
|
this.vDomPadRight += column.getWidth();
|
|
2432
2444
|
this.rightCol --;
|
|
2445
|
+
|
|
2446
|
+
this.getVisibleRows().forEach((row) => {
|
|
2447
|
+
if(row.type !== "group"){
|
|
2448
|
+
row.modules.vdomHoz.rightCol = this.rightCol;
|
|
2449
|
+
}
|
|
2450
|
+
});
|
|
2433
2451
|
}else {
|
|
2434
2452
|
working = false;
|
|
2435
2453
|
}
|
|
@@ -2468,6 +2486,12 @@
|
|
|
2468
2486
|
|
|
2469
2487
|
this.vDomPadLeft += column.getWidth();
|
|
2470
2488
|
this.leftCol ++;
|
|
2489
|
+
|
|
2490
|
+
this.getVisibleRows().forEach((row) => {
|
|
2491
|
+
if(row.type !== "group"){
|
|
2492
|
+
row.modules.vdomHoz.leftCol = this.leftCol;
|
|
2493
|
+
}
|
|
2494
|
+
});
|
|
2471
2495
|
}else {
|
|
2472
2496
|
working = false;
|
|
2473
2497
|
}
|
|
@@ -11904,6 +11928,7 @@
|
|
|
11904
11928
|
this.listIteration = 0;
|
|
11905
11929
|
|
|
11906
11930
|
this.lastAction="";
|
|
11931
|
+
this.filterTerm="";
|
|
11907
11932
|
|
|
11908
11933
|
this.blurable = true;
|
|
11909
11934
|
|
|
@@ -15195,9 +15220,9 @@
|
|
|
15195
15220
|
});
|
|
15196
15221
|
|
|
15197
15222
|
editorElement.addEventListener("focus", (e) => {
|
|
15198
|
-
var left = this.table.columnManager.
|
|
15223
|
+
var left = this.table.columnManager.contentsElement.scrollLeft;
|
|
15199
15224
|
|
|
15200
|
-
var headerPos = this.table.rowManager.element.scrollLeft
|
|
15225
|
+
var headerPos = this.table.rowManager.element.scrollLeft;
|
|
15201
15226
|
|
|
15202
15227
|
if(left !== headerPos){
|
|
15203
15228
|
this.table.rowManager.scrollHorizontal(left);
|
|
@@ -18032,6 +18057,9 @@
|
|
|
18032
18057
|
this.groupList.forEach(function(group){
|
|
18033
18058
|
group.wipe();
|
|
18034
18059
|
});
|
|
18060
|
+
|
|
18061
|
+
this.groupList = [];
|
|
18062
|
+
this.groups = {};
|
|
18035
18063
|
}
|
|
18036
18064
|
}
|
|
18037
18065
|
|
|
@@ -18118,8 +18146,13 @@
|
|
|
18118
18146
|
this.assignRowToGroup(row, oldGroups);
|
|
18119
18147
|
});
|
|
18120
18148
|
}
|
|
18149
|
+
|
|
18150
|
+
Object.values(oldGroups).forEach((group) => {
|
|
18151
|
+
group.wipe();
|
|
18152
|
+
});
|
|
18121
18153
|
}
|
|
18122
18154
|
|
|
18155
|
+
|
|
18123
18156
|
createGroup(groupID, level, oldGroups){
|
|
18124
18157
|
var groupKey = level + "_" + groupID,
|
|
18125
18158
|
group;
|
|
@@ -21485,6 +21518,7 @@
|
|
|
21485
21518
|
if(!this.initialLoad){
|
|
21486
21519
|
if(this.mode == "local" || force){
|
|
21487
21520
|
this.page = 1;
|
|
21521
|
+
this.trackChanges();
|
|
21488
21522
|
}
|
|
21489
21523
|
}
|
|
21490
21524
|
}
|