vxe-table 3.15.2 → 3.15.4
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/es/index.css +1 -1
- package/es/index.min.css +1 -1
- package/es/style.css +1 -1
- package/es/style.min.css +1 -1
- package/es/table/src/body.js +5 -3
- package/es/table/src/footer.js +4 -2
- package/es/table/src/header.js +2 -1
- package/es/table/src/methods.js +95 -95
- package/es/table/src/table.js +3 -0
- package/es/table/style.css +0 -3
- package/es/table/style.min.css +1 -1
- package/es/ui/index.js +1 -1
- package/es/ui/src/log.js +1 -1
- package/es/vxe-table/style.css +0 -3
- package/es/vxe-table/style.min.css +1 -1
- package/lib/index.css +1 -1
- package/lib/index.min.css +1 -1
- package/lib/index.umd.js +132 -123
- package/lib/index.umd.min.js +1 -1
- package/lib/style.css +1 -1
- package/lib/style.min.css +1 -1
- package/lib/table/src/body.js +5 -2
- package/lib/table/src/body.min.js +1 -1
- package/lib/table/src/footer.js +4 -2
- package/lib/table/src/footer.min.js +1 -1
- package/lib/table/src/header.js +2 -1
- package/lib/table/src/header.min.js +1 -1
- package/lib/table/src/methods.js +116 -116
- package/lib/table/src/methods.min.js +1 -1
- package/lib/table/src/table.js +3 -0
- package/lib/table/src/table.min.js +1 -1
- package/lib/table/style/style.css +0 -3
- package/lib/table/style/style.min.css +1 -1
- package/lib/ui/index.js +1 -1
- package/lib/ui/index.min.js +1 -1
- package/lib/ui/src/log.js +1 -1
- package/lib/ui/src/log.min.js +1 -1
- package/lib/vxe-table/style/style.css +0 -3
- package/lib/vxe-table/style/style.min.css +1 -1
- package/package.json +2 -2
- package/packages/table/src/body.ts +5 -3
- package/packages/table/src/footer.ts +4 -2
- package/packages/table/src/header.ts +2 -1
- package/packages/table/src/methods.ts +102 -100
- package/packages/table/src/table.ts +3 -0
- package/styles/components/table.scss +3 -3
- /package/es/{iconfont.1744428010256.ttf → iconfont.1744768256934.ttf} +0 -0
- /package/es/{iconfont.1744428010256.woff → iconfont.1744768256934.woff} +0 -0
- /package/es/{iconfont.1744428010256.woff2 → iconfont.1744768256934.woff2} +0 -0
- /package/lib/{iconfont.1744428010256.ttf → iconfont.1744768256934.ttf} +0 -0
- /package/lib/{iconfont.1744428010256.woff → iconfont.1744768256934.woff} +0 -0
- /package/lib/{iconfont.1744428010256.woff2 → iconfont.1744768256934.woff2} +0 -0
package/lib/index.umd.js
CHANGED
|
@@ -2220,7 +2220,7 @@ function getClass(property, params) {
|
|
|
2220
2220
|
;// CONCATENATED MODULE: ./packages/ui/index.ts
|
|
2221
2221
|
|
|
2222
2222
|
|
|
2223
|
-
const version = "3.15.
|
|
2223
|
+
const version = "3.15.4";
|
|
2224
2224
|
core_.VxeUI.version = version;
|
|
2225
2225
|
core_.VxeUI.tableVersion = version;
|
|
2226
2226
|
core_.VxeUI.setConfig({
|
|
@@ -2843,7 +2843,7 @@ function isNodeElement(elem) {
|
|
|
2843
2843
|
const {
|
|
2844
2844
|
log: log_log
|
|
2845
2845
|
} = core_.VxeUI;
|
|
2846
|
-
const log_version = `table v${"3.15.
|
|
2846
|
+
const log_version = `table v${"3.15.4"}`;
|
|
2847
2847
|
const warnLog = log_log.create('warn', log_version);
|
|
2848
2848
|
const errLog = log_log.create('error', log_version);
|
|
2849
2849
|
;// CONCATENATED MODULE: ./packages/table/src/columnInfo.ts
|
|
@@ -5507,6 +5507,116 @@ const updateScrollYStatus = ($xeTable, fullData) => {
|
|
|
5507
5507
|
reactData.scrollYLoad = scrollYLoad;
|
|
5508
5508
|
return scrollYLoad;
|
|
5509
5509
|
};
|
|
5510
|
+
/**
|
|
5511
|
+
* 展开与收起树节点
|
|
5512
|
+
* @param rows
|
|
5513
|
+
* @param expanded
|
|
5514
|
+
* @returns
|
|
5515
|
+
*/
|
|
5516
|
+
function handleBaseTreeExpand($xeTable, rows, expanded) {
|
|
5517
|
+
const reactData = $xeTable;
|
|
5518
|
+
const internalData = $xeTable;
|
|
5519
|
+
const {
|
|
5520
|
+
treeNodeColumn
|
|
5521
|
+
} = reactData;
|
|
5522
|
+
const {
|
|
5523
|
+
fullAllDataRowIdData,
|
|
5524
|
+
tableFullData,
|
|
5525
|
+
treeExpandedMaps,
|
|
5526
|
+
treeExpandLazyLoadedMaps
|
|
5527
|
+
} = internalData;
|
|
5528
|
+
const treeOpts = $xeTable.computeTreeOpts;
|
|
5529
|
+
const {
|
|
5530
|
+
reserve,
|
|
5531
|
+
lazy,
|
|
5532
|
+
accordion,
|
|
5533
|
+
toggleMethod
|
|
5534
|
+
} = treeOpts;
|
|
5535
|
+
const childrenField = treeOpts.children || treeOpts.childrenField;
|
|
5536
|
+
const hasChildField = treeOpts.hasChild || treeOpts.hasChildField;
|
|
5537
|
+
const result = [];
|
|
5538
|
+
const columnIndex = $xeTable.getColumnIndex(treeNodeColumn);
|
|
5539
|
+
const $columnIndex = $xeTable.getVMColumnIndex(treeNodeColumn);
|
|
5540
|
+
const {
|
|
5541
|
+
handleGetRowId
|
|
5542
|
+
} = createHandleGetRowId($xeTable);
|
|
5543
|
+
let validRows = toggleMethod ? rows.filter(row => toggleMethod({
|
|
5544
|
+
$table: $xeTable,
|
|
5545
|
+
expanded,
|
|
5546
|
+
column: treeNodeColumn,
|
|
5547
|
+
columnIndex,
|
|
5548
|
+
$columnIndex,
|
|
5549
|
+
row
|
|
5550
|
+
})) : rows;
|
|
5551
|
+
if (accordion) {
|
|
5552
|
+
validRows = validRows.length ? [validRows[validRows.length - 1]] : [];
|
|
5553
|
+
// 同一级只能展开一个
|
|
5554
|
+
const matchObj = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().findTree(tableFullData, item => item === validRows[0], {
|
|
5555
|
+
children: childrenField
|
|
5556
|
+
});
|
|
5557
|
+
if (matchObj) {
|
|
5558
|
+
matchObj.items.forEach(item => {
|
|
5559
|
+
const rowid = handleGetRowId(item);
|
|
5560
|
+
if (treeExpandedMaps[rowid]) {
|
|
5561
|
+
delete treeExpandedMaps[rowid];
|
|
5562
|
+
}
|
|
5563
|
+
});
|
|
5564
|
+
}
|
|
5565
|
+
}
|
|
5566
|
+
if (expanded) {
|
|
5567
|
+
validRows.forEach(row => {
|
|
5568
|
+
const rowid = handleGetRowId(row);
|
|
5569
|
+
if (!treeExpandedMaps[rowid]) {
|
|
5570
|
+
const rowRest = fullAllDataRowIdData[rowid];
|
|
5571
|
+
if (rowRest) {
|
|
5572
|
+
const isLoad = lazy && row[hasChildField] && !rowRest.treeLoaded && !treeExpandLazyLoadedMaps[rowid];
|
|
5573
|
+
// 是否使用懒加载
|
|
5574
|
+
if (isLoad) {
|
|
5575
|
+
result.push(handleAsyncTreeExpandChilds($xeTable, row));
|
|
5576
|
+
} else {
|
|
5577
|
+
if (row[childrenField] && row[childrenField].length) {
|
|
5578
|
+
treeExpandedMaps[rowid] = row;
|
|
5579
|
+
}
|
|
5580
|
+
}
|
|
5581
|
+
}
|
|
5582
|
+
}
|
|
5583
|
+
});
|
|
5584
|
+
} else {
|
|
5585
|
+
validRows.forEach(item => {
|
|
5586
|
+
const rowid = handleGetRowId(item);
|
|
5587
|
+
if (treeExpandedMaps[rowid]) {
|
|
5588
|
+
delete treeExpandedMaps[rowid];
|
|
5589
|
+
}
|
|
5590
|
+
});
|
|
5591
|
+
}
|
|
5592
|
+
if (reserve) {
|
|
5593
|
+
validRows.forEach(row => handleTreeExpandReserve($xeTable, row, expanded));
|
|
5594
|
+
}
|
|
5595
|
+
reactData.treeExpandedFlag++;
|
|
5596
|
+
return Promise.all(result).then(() => {
|
|
5597
|
+
return $xeTable.recalculate();
|
|
5598
|
+
});
|
|
5599
|
+
}
|
|
5600
|
+
/**
|
|
5601
|
+
* 虚拟树的展开与收起
|
|
5602
|
+
* @param rows
|
|
5603
|
+
* @param expanded
|
|
5604
|
+
* @returns
|
|
5605
|
+
*/
|
|
5606
|
+
function handleVirtualTreeExpand($xeTable, rows, expanded) {
|
|
5607
|
+
return handleBaseTreeExpand($xeTable, rows, expanded).then(() => {
|
|
5608
|
+
handleVirtualTreeToList($xeTable);
|
|
5609
|
+
$xeTable.handleTableData();
|
|
5610
|
+
updateAfterDataIndex($xeTable);
|
|
5611
|
+
return $xeTable.$nextTick();
|
|
5612
|
+
}).then(() => {
|
|
5613
|
+
return $xeTable.recalculate(true);
|
|
5614
|
+
}).then(() => {
|
|
5615
|
+
setTimeout(() => {
|
|
5616
|
+
$xeTable.updateCellAreas();
|
|
5617
|
+
}, 30);
|
|
5618
|
+
});
|
|
5619
|
+
}
|
|
5510
5620
|
function updateAfterListIndex($xeTable) {
|
|
5511
5621
|
const props = $xeTable;
|
|
5512
5622
|
const internalData = $xeTable;
|
|
@@ -14480,8 +14590,8 @@ const Methods = {
|
|
|
14480
14590
|
columnIndex,
|
|
14481
14591
|
$columnIndex,
|
|
14482
14592
|
row,
|
|
14483
|
-
rowIndex:
|
|
14484
|
-
$rowIndex:
|
|
14593
|
+
rowIndex: $xeTable.getRowIndex(row),
|
|
14594
|
+
$rowIndex: $xeTable.getVMRowIndex(row)
|
|
14485
14595
|
})) : rows;
|
|
14486
14596
|
if (expanded) {
|
|
14487
14597
|
validRows.forEach(row => {
|
|
@@ -14736,7 +14846,7 @@ const Methods = {
|
|
|
14736
14846
|
internalData.treeEATime = setTimeout(() => {
|
|
14737
14847
|
internalData.treeEATime = undefined;
|
|
14738
14848
|
$xeTable.scrollToRow(row);
|
|
14739
|
-
},
|
|
14849
|
+
}, 30);
|
|
14740
14850
|
}
|
|
14741
14851
|
});
|
|
14742
14852
|
$xeTable.dispatchEvent('toggle-tree-expand', {
|
|
@@ -14778,117 +14888,6 @@ const Methods = {
|
|
|
14778
14888
|
});
|
|
14779
14889
|
return this.setTreeExpand(expandeds, expanded);
|
|
14780
14890
|
},
|
|
14781
|
-
/**
|
|
14782
|
-
* 默认,展开与收起树节点
|
|
14783
|
-
* @param rows
|
|
14784
|
-
* @param expanded
|
|
14785
|
-
* @returns
|
|
14786
|
-
*/
|
|
14787
|
-
handleBaseTreeExpand(rows, expanded) {
|
|
14788
|
-
const $xeTable = this;
|
|
14789
|
-
const reactData = $xeTable;
|
|
14790
|
-
const internalData = $xeTable;
|
|
14791
|
-
const {
|
|
14792
|
-
treeNodeColumn
|
|
14793
|
-
} = reactData;
|
|
14794
|
-
const {
|
|
14795
|
-
fullAllDataRowIdData,
|
|
14796
|
-
tableFullData,
|
|
14797
|
-
treeExpandedMaps,
|
|
14798
|
-
treeExpandLazyLoadedMaps
|
|
14799
|
-
} = internalData;
|
|
14800
|
-
const treeOpts = $xeTable.computeTreeOpts;
|
|
14801
|
-
const {
|
|
14802
|
-
reserve,
|
|
14803
|
-
lazy,
|
|
14804
|
-
accordion,
|
|
14805
|
-
toggleMethod
|
|
14806
|
-
} = treeOpts;
|
|
14807
|
-
const childrenField = treeOpts.children || treeOpts.childrenField;
|
|
14808
|
-
const hasChildField = treeOpts.hasChild || treeOpts.hasChildField;
|
|
14809
|
-
const result = [];
|
|
14810
|
-
const columnIndex = $xeTable.getColumnIndex(treeNodeColumn);
|
|
14811
|
-
const $columnIndex = $xeTable.getVMColumnIndex(treeNodeColumn);
|
|
14812
|
-
const {
|
|
14813
|
-
handleGetRowId
|
|
14814
|
-
} = createHandleGetRowId($xeTable);
|
|
14815
|
-
let validRows = toggleMethod ? rows.filter(row => toggleMethod({
|
|
14816
|
-
$table: $xeTable,
|
|
14817
|
-
expanded,
|
|
14818
|
-
column: treeNodeColumn,
|
|
14819
|
-
columnIndex,
|
|
14820
|
-
$columnIndex,
|
|
14821
|
-
row
|
|
14822
|
-
})) : rows;
|
|
14823
|
-
if (accordion) {
|
|
14824
|
-
validRows = validRows.length ? [validRows[validRows.length - 1]] : [];
|
|
14825
|
-
// 同一级只能展开一个
|
|
14826
|
-
const matchObj = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().findTree(tableFullData, item => item === validRows[0], {
|
|
14827
|
-
children: childrenField
|
|
14828
|
-
});
|
|
14829
|
-
if (matchObj) {
|
|
14830
|
-
matchObj.items.forEach(item => {
|
|
14831
|
-
const rowid = handleGetRowId(item);
|
|
14832
|
-
if (treeExpandedMaps[rowid]) {
|
|
14833
|
-
delete treeExpandedMaps[rowid];
|
|
14834
|
-
}
|
|
14835
|
-
});
|
|
14836
|
-
}
|
|
14837
|
-
}
|
|
14838
|
-
if (expanded) {
|
|
14839
|
-
validRows.forEach(row => {
|
|
14840
|
-
const rowid = handleGetRowId(row);
|
|
14841
|
-
if (!treeExpandedMaps[rowid]) {
|
|
14842
|
-
const rowRest = fullAllDataRowIdData[rowid];
|
|
14843
|
-
if (rowRest) {
|
|
14844
|
-
const isLoad = lazy && row[hasChildField] && !rowRest.treeLoaded && !treeExpandLazyLoadedMaps[rowid];
|
|
14845
|
-
// 是否使用懒加载
|
|
14846
|
-
if (isLoad) {
|
|
14847
|
-
result.push(handleAsyncTreeExpandChilds($xeTable, row));
|
|
14848
|
-
} else {
|
|
14849
|
-
if (row[childrenField] && row[childrenField].length) {
|
|
14850
|
-
treeExpandedMaps[rowid] = row;
|
|
14851
|
-
}
|
|
14852
|
-
}
|
|
14853
|
-
}
|
|
14854
|
-
}
|
|
14855
|
-
});
|
|
14856
|
-
} else {
|
|
14857
|
-
validRows.forEach(item => {
|
|
14858
|
-
const rowid = handleGetRowId(item);
|
|
14859
|
-
if (treeExpandedMaps[rowid]) {
|
|
14860
|
-
delete treeExpandedMaps[rowid];
|
|
14861
|
-
}
|
|
14862
|
-
});
|
|
14863
|
-
}
|
|
14864
|
-
if (reserve) {
|
|
14865
|
-
validRows.forEach(row => handleTreeExpandReserve($xeTable, row, expanded));
|
|
14866
|
-
}
|
|
14867
|
-
reactData.treeExpandedFlag++;
|
|
14868
|
-
return Promise.all(result).then(() => {
|
|
14869
|
-
return $xeTable.recalculate();
|
|
14870
|
-
});
|
|
14871
|
-
},
|
|
14872
|
-
/**
|
|
14873
|
-
* 虚拟树的展开与收起
|
|
14874
|
-
* @param rows
|
|
14875
|
-
* @param expanded
|
|
14876
|
-
* @returns
|
|
14877
|
-
*/
|
|
14878
|
-
handleVirtualTreeExpand(rows, expanded) {
|
|
14879
|
-
const $xeTable = this;
|
|
14880
|
-
return this.handleBaseTreeExpand(rows, expanded).then(() => {
|
|
14881
|
-
handleVirtualTreeToList($xeTable);
|
|
14882
|
-
this.handleTableData();
|
|
14883
|
-
updateAfterDataIndex($xeTable);
|
|
14884
|
-
}).then(() => {
|
|
14885
|
-
return this.recalculate();
|
|
14886
|
-
}).then(() => {
|
|
14887
|
-
setTimeout(() => {
|
|
14888
|
-
this.updateCellAreas();
|
|
14889
|
-
}, 30);
|
|
14890
|
-
});
|
|
14891
|
-
},
|
|
14892
14891
|
/**
|
|
14893
14892
|
* 设置展开树形节点,二个参数设置这一行展开与否
|
|
14894
14893
|
* 支持单行
|
|
@@ -14897,6 +14896,7 @@ const Methods = {
|
|
|
14897
14896
|
* @param {Boolean} expanded 是否展开
|
|
14898
14897
|
*/
|
|
14899
14898
|
setTreeExpand(rows, expanded) {
|
|
14899
|
+
const $xeTable = this;
|
|
14900
14900
|
const {
|
|
14901
14901
|
treeOpts
|
|
14902
14902
|
} = this;
|
|
@@ -14910,9 +14910,9 @@ const Methods = {
|
|
|
14910
14910
|
if (rows.length) {
|
|
14911
14911
|
// 如果为虚拟树
|
|
14912
14912
|
if (transform) {
|
|
14913
|
-
return
|
|
14913
|
+
return handleVirtualTreeExpand($xeTable, rows, expanded);
|
|
14914
14914
|
} else {
|
|
14915
|
-
return
|
|
14915
|
+
return handleBaseTreeExpand($xeTable, rows, expanded);
|
|
14916
14916
|
}
|
|
14917
14917
|
}
|
|
14918
14918
|
}
|
|
@@ -16266,6 +16266,7 @@ function renderTdColumn(h, _vm, seq, rowid, fixedType, isOptimizeMode, rowLevel,
|
|
|
16266
16266
|
showOverflow: allShowOverflow,
|
|
16267
16267
|
border,
|
|
16268
16268
|
height,
|
|
16269
|
+
treeConfig,
|
|
16269
16270
|
cellClassName: allCellClassName,
|
|
16270
16271
|
cellStyle,
|
|
16271
16272
|
align: allAlign,
|
|
@@ -16306,6 +16307,8 @@ function renderTdColumn(h, _vm, seq, rowid, fixedType, isOptimizeMode, rowLevel,
|
|
|
16306
16307
|
const checkboxOpts = $xeTable.computeCheckboxOpts;
|
|
16307
16308
|
const editOpts = $xeTable.computeEditOpts;
|
|
16308
16309
|
const tooltipOpts = $xeTable.computeTooltipOpts;
|
|
16310
|
+
const virtualXOpts = $xeTable.computeVirtualXOpts;
|
|
16311
|
+
const virtualYOpts = $xeTable.computeVirtualYOpts;
|
|
16309
16312
|
const {
|
|
16310
16313
|
isAllColumnDrag,
|
|
16311
16314
|
isAllRowDrag
|
|
@@ -16509,9 +16512,9 @@ function renderTdColumn(h, _vm, seq, rowid, fixedType, isOptimizeMode, rowLevel,
|
|
|
16509
16512
|
let isVNPreEmptyStatus = false;
|
|
16510
16513
|
if (!isMergeCell) {
|
|
16511
16514
|
if (!dragRow || getRowid($xeTable, dragRow) !== rowid) {
|
|
16512
|
-
if (scrollYLoad && (_rowIndex < scrollYStore.visibleStartIndex - scrollYStore.preloadSize || _rowIndex > scrollYStore.visibleEndIndex + scrollYStore.preloadSize)) {
|
|
16515
|
+
if (scrollYLoad && !treeConfig && !virtualYOpts.immediate && (_rowIndex < scrollYStore.visibleStartIndex - scrollYStore.preloadSize || _rowIndex > scrollYStore.visibleEndIndex + scrollYStore.preloadSize)) {
|
|
16513
16516
|
isVNPreEmptyStatus = true;
|
|
16514
|
-
} else if (scrollXLoad && !column.fixed && (_columnIndex < scrollXStore.visibleStartIndex - scrollXStore.preloadSize || _columnIndex > scrollXStore.visibleEndIndex + scrollXStore.preloadSize)) {
|
|
16517
|
+
} else if (scrollXLoad && !virtualXOpts.immediate && !column.fixed && (_columnIndex < scrollXStore.visibleStartIndex - scrollXStore.preloadSize || _columnIndex > scrollXStore.visibleEndIndex + scrollXStore.preloadSize)) {
|
|
16515
16518
|
isVNPreEmptyStatus = true;
|
|
16516
16519
|
}
|
|
16517
16520
|
}
|
|
@@ -17184,6 +17187,7 @@ const header_renderRows = (h, _vm, isGroup, isOptimizeMode, cols, $rowIndex) =>
|
|
|
17184
17187
|
fullColumnIdData,
|
|
17185
17188
|
scrollXStore
|
|
17186
17189
|
} = tableInternalData;
|
|
17190
|
+
const virtualXOpts = $xeTable.computeVirtualXOpts;
|
|
17187
17191
|
const columnOpts = $xeTable.computeColumnOpts;
|
|
17188
17192
|
const columnDragOpts = $xeTable.computeColumnDragOpts;
|
|
17189
17193
|
const cellOpts = $xeTable.computeCellOpts;
|
|
@@ -17279,7 +17283,7 @@ const header_renderRows = (h, _vm, isGroup, isOptimizeMode, cols, $rowIndex) =>
|
|
|
17279
17283
|
let isVNPreEmptyStatus = false;
|
|
17280
17284
|
if (!isGroup) {
|
|
17281
17285
|
if (!dragCol || dragCol.id !== colid) {
|
|
17282
|
-
if (scrollXLoad && !column.fixed && (_columnIndex < scrollXStore.visibleStartIndex - scrollXStore.preloadSize || _columnIndex > scrollXStore.visibleEndIndex + scrollXStore.preloadSize)) {
|
|
17286
|
+
if (scrollXLoad && !column.fixed && !virtualXOpts.immediate && (_columnIndex < scrollXStore.visibleStartIndex - scrollXStore.preloadSize || _columnIndex > scrollXStore.visibleEndIndex + scrollXStore.preloadSize)) {
|
|
17283
17287
|
isVNPreEmptyStatus = true;
|
|
17284
17288
|
}
|
|
17285
17289
|
}
|
|
@@ -17650,10 +17654,12 @@ function footer_renderRows(h, _vm, tableColumn, footerTableData, row, $rowIndex,
|
|
|
17650
17654
|
mergeFooterCellMaps,
|
|
17651
17655
|
scrollXStore
|
|
17652
17656
|
} = tableInternalData;
|
|
17657
|
+
const virtualXOpts = $xeTable.computeVirtualXOpts;
|
|
17653
17658
|
const tooltipOpts = $xeTable.computeTooltipOpts;
|
|
17659
|
+
const resizableOpts = $xeTable.resizableOpts;
|
|
17654
17660
|
const {
|
|
17655
17661
|
isAllColumnDrag
|
|
17656
|
-
} =
|
|
17662
|
+
} = resizableOpts;
|
|
17657
17663
|
const columnOpts = $xeTable.computeColumnOpts;
|
|
17658
17664
|
const defaultRowHeight = $xeTable.computeDefaultRowHeight;
|
|
17659
17665
|
const cellOpts = $xeTable.computeCellOpts;
|
|
@@ -17779,7 +17785,7 @@ function footer_renderRows(h, _vm, tableColumn, footerTableData, row, $rowIndex,
|
|
|
17779
17785
|
const isAutoCellWidth = !column.resizeWidth && (column.minWidth === 'auto' || column.width === 'auto');
|
|
17780
17786
|
let isVNPreEmptyStatus = false;
|
|
17781
17787
|
if (!isMergeCell) {
|
|
17782
|
-
if (scrollXLoad && !column.fixed && (_columnIndex < scrollXStore.visibleStartIndex - scrollXStore.preloadSize || _columnIndex > scrollXStore.visibleEndIndex + scrollXStore.preloadSize)) {
|
|
17788
|
+
if (scrollXLoad && !column.fixed && !virtualXOpts.immediate && (_columnIndex < scrollXStore.visibleStartIndex - scrollXStore.preloadSize || _columnIndex > scrollXStore.visibleEndIndex + scrollXStore.preloadSize)) {
|
|
17783
17789
|
isVNPreEmptyStatus = true;
|
|
17784
17790
|
}
|
|
17785
17791
|
}
|
|
@@ -27594,6 +27600,9 @@ function renderBody(h, $xeTable) {
|
|
|
27594
27600
|
if (this.highlightHoverColumn) {
|
|
27595
27601
|
warnLog('vxe.error.delProp', ['highlight-hover-column', 'column-config.isHover']);
|
|
27596
27602
|
}
|
|
27603
|
+
if (props.resizable) {
|
|
27604
|
+
warnLog('vxe.error.delProp', ['resizable', 'column-config.resizable']);
|
|
27605
|
+
}
|
|
27597
27606
|
// if (props.scrollY) {
|
|
27598
27607
|
// warnLog('vxe.error.delProp', ['scroll-y', 'virtual-y-config'])
|
|
27599
27608
|
// }
|