vxe-table 3.17.0-beta.12 → 3.17.0-beta.13

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.
Files changed (33) hide show
  1. package/es/style.css +1 -1
  2. package/es/table/module/edit/mixin.js +5 -5
  3. package/es/table/src/body.js +7 -6
  4. package/es/table/src/methods.js +8 -5
  5. package/es/table/src/table.js +6 -5
  6. package/es/ui/index.js +1 -1
  7. package/es/ui/src/log.js +1 -1
  8. package/lib/index.umd.js +28 -14
  9. package/lib/index.umd.min.js +1 -1
  10. package/lib/style.css +1 -1
  11. package/lib/table/module/edit/mixin.js +5 -0
  12. package/lib/table/module/edit/mixin.min.js +1 -1
  13. package/lib/table/src/body.js +7 -6
  14. package/lib/table/src/body.min.js +1 -1
  15. package/lib/table/src/methods.js +8 -1
  16. package/lib/table/src/methods.min.js +1 -1
  17. package/lib/table/src/table.js +6 -5
  18. package/lib/table/src/table.min.js +1 -1
  19. package/lib/ui/index.js +1 -1
  20. package/lib/ui/index.min.js +1 -1
  21. package/lib/ui/src/log.js +1 -1
  22. package/lib/ui/src/log.min.js +1 -1
  23. package/package.json +2 -2
  24. package/packages/table/module/edit/mixin.ts +5 -5
  25. package/packages/table/src/body.ts +7 -6
  26. package/packages/table/src/methods.ts +8 -5
  27. package/packages/table/src/table.ts +6 -5
  28. /package/es/{iconfont.1753674925084.ttf → iconfont.1753775808744.ttf} +0 -0
  29. /package/es/{iconfont.1753674925084.woff → iconfont.1753775808744.woff} +0 -0
  30. /package/es/{iconfont.1753674925084.woff2 → iconfont.1753775808744.woff2} +0 -0
  31. /package/lib/{iconfont.1753674925084.ttf → iconfont.1753775808744.ttf} +0 -0
  32. /package/lib/{iconfont.1753674925084.woff → iconfont.1753775808744.woff} +0 -0
  33. /package/lib/{iconfont.1753674925084.woff2 → iconfont.1753775808744.woff2} +0 -0
@@ -70,7 +70,7 @@ function insertTreeRow($xeTable, newRecords, isAppend) {
70
70
  }
71
71
  parentChilds[funcName](item);
72
72
  mapChilds[funcName](item);
73
- const rest = { row: item, rowid, seq: -1, index: -1, _index: -1, $index: -1, treeIndex: -1, items: parentChilds, parent: parentRow, level: parentLevel + 1, height: 0, resizeHeight: 0, oTop: 0, expandHeight: 0 };
73
+ const rest = { row: item, rowid, seq: -1, index: -1, _index: -1, $index: -1, treeIndex: -1, _tIndex: -1, items: parentChilds, parent: parentRow, level: parentLevel + 1, height: 0, resizeHeight: 0, oTop: 0, expandHeight: 0 };
74
74
  fullDataRowIdData[rowid] = rest;
75
75
  fullAllDataRowIdData[rowid] = rest;
76
76
  }
@@ -80,7 +80,7 @@ function insertTreeRow($xeTable, newRecords, isAppend) {
80
80
  }
81
81
  afterFullData[funcName](item);
82
82
  tableFullTreeData[funcName](item);
83
- const rest = { row: item, rowid, seq: -1, index: -1, _index: -1, $index: -1, treeIndex: -1, items: tableFullTreeData, parent: null, level: 0, height: 0, resizeHeight: 0, oTop: 0, expandHeight: 0 };
83
+ const rest = { row: item, rowid, seq: -1, index: -1, _index: -1, $index: -1, treeIndex: -1, _tIndex: -1, items: tableFullTreeData, parent: null, level: 0, height: 0, resizeHeight: 0, oTop: 0, expandHeight: 0 };
84
84
  fullDataRowIdData[rowid] = rest;
85
85
  fullAllDataRowIdData[rowid] = rest;
86
86
  }
@@ -118,7 +118,7 @@ function handleInsertRowAt($xeTable, records, targetRow, isInsertNextRow) {
118
118
  else {
119
119
  newRecords.forEach(item => {
120
120
  const rowid = getRowid($xeTable, item);
121
- const rest = { row: item, rowid, seq: -1, index: -1, _index: -1, $index: -1, treeIndex: -1, items: afterFullData, parent: null, level: 0, height: 0, resizeHeight: 0, oTop: 0, expandHeight: 0 };
121
+ const rest = { row: item, rowid, seq: -1, index: -1, _index: -1, $index: -1, treeIndex: -1, _tIndex: -1, items: afterFullData, parent: null, level: 0, height: 0, resizeHeight: 0, oTop: 0, expandHeight: 0 };
122
122
  fullDataRowIdData[rowid] = rest;
123
123
  fullAllDataRowIdData[rowid] = rest;
124
124
  afterFullData.unshift(item);
@@ -150,7 +150,7 @@ function handleInsertRowAt($xeTable, records, targetRow, isInsertNextRow) {
150
150
  else {
151
151
  newRecords.forEach(item => {
152
152
  const rowid = getRowid($xeTable, item);
153
- const rest = { row: item, rowid, seq: -1, index: -1, _index: -1, $index: -1, treeIndex: -1, items: afterFullData, parent: null, level: 0, height: 0, resizeHeight: 0, oTop: 0, expandHeight: 0 };
153
+ const rest = { row: item, rowid, seq: -1, index: -1, _index: -1, $index: -1, treeIndex: -1, _tIndex: -1, items: afterFullData, parent: null, level: 0, height: 0, resizeHeight: 0, oTop: 0, expandHeight: 0 };
154
154
  fullDataRowIdData[rowid] = rest;
155
155
  fullAllDataRowIdData[rowid] = rest;
156
156
  afterFullData.push(item);
@@ -182,7 +182,7 @@ function handleInsertRowAt($xeTable, records, targetRow, isInsertNextRow) {
182
182
  targetIndex = targetIndex + 1;
183
183
  }
184
184
  parentMapChilds.splice(targetIndex, 0, item);
185
- const rest = { row: item, rowid, seq: -1, index: -1, _index: -1, $index: -1, treeIndex: -1, items: parentMapChilds, parent: parentRow, level: parentLevel + 1, height: 0, resizeHeight: 0, oTop: 0, expandHeight: 0 };
185
+ const rest = { row: item, rowid, seq: -1, index: -1, _index: -1, $index: -1, treeIndex: -1, _tIndex: -1, items: parentMapChilds, parent: parentRow, level: parentLevel + 1, height: 0, resizeHeight: 0, oTop: 0, expandHeight: 0 };
186
186
  fullDataRowIdData[rowid] = rest;
187
187
  fullAllDataRowIdData[rowid] = rest;
188
188
  });
@@ -239,7 +239,7 @@ function renderTdColumn(h, $xeTable, seq, rowid, fixedType, isOptimizeMode, rowL
239
239
  if (!fixedHiddenColumn && editConfig && (editRender || cellRender) && (editOpts.showStatus || editOpts.showUpdateStatus)) {
240
240
  isDirty = $xeTable.isUpdateByRow(row, column.field);
241
241
  }
242
- const isVNAutoHeight = scrollYLoad && !hasEllipsis;
242
+ const isVNAutoHeight = !hasEllipsis && (scrollYLoad || scrollXLoad);
243
243
  let cellHeight = getCellRestHeight(rowRest, cellOpts, rowOpts, defaultRowHeight);
244
244
  const isLastColumn = $columnIndex === columns.length - 1;
245
245
  const isAutoCellWidth = !column.resizeWidth && (column.minWidth === 'auto' || column.width === 'auto');
@@ -276,7 +276,7 @@ function renderTdColumn(h, $xeTable, seq, rowid, fixedType, isOptimizeMode, rowL
276
276
  }
277
277
  tcStyle.width = `${column.renderWidth + mergeColWidth - cellOffsetWidth}px`;
278
278
  }
279
- if (scrollYLoad || hasEllipsis || isCsHeight || isRsHeight) {
279
+ if (scrollYLoad || scrollXLoad || hasEllipsis || isCsHeight || isRsHeight) {
280
280
  tcStyle.height = `${cellHeight}px`;
281
281
  }
282
282
  else {
@@ -456,15 +456,16 @@ function renderRows(h, _vm, fixedType, isOptimizeMode, tableData, tableColumn) {
456
456
  };
457
457
  }
458
458
  if (rowRest) {
459
+ rowIndex = rowRest.index;
460
+ _rowIndex = rowRest._index;
459
461
  rowLevel = rowRest.level;
462
+ seq = rowRest.seq;
460
463
  if (hasRowGroupAggregate || (treeConfig && transform && seqMode === 'increasing')) {
461
464
  seq = rowRest._index + 1;
462
465
  }
463
- else {
464
- seq = rowRest.seq;
466
+ else if ((treeConfig && seqMode === 'fixed')) {
467
+ seq = rowRest._tIndex + 1;
465
468
  }
466
- rowIndex = rowRest.index;
467
- _rowIndex = rowRest._index;
468
469
  }
469
470
  const params = { $table: $xeTable, seq, rowid, fixed: fixedType, type: renderType, level: rowLevel, row, rowIndex, $rowIndex, _rowIndex };
470
471
  // 行是否被展开
@@ -535,7 +535,7 @@ function updateAfterListIndex($xeTable) {
535
535
  rowRest._index = index;
536
536
  }
537
537
  else {
538
- const rest = { row, rowid, seq, index: -1, $index: -1, _index: index, treeIndex: -1, items: [], parent: null, level: 0, height: 0, resizeHeight: 0, oTop: 0, expandHeight: 0 };
538
+ const rest = { row, rowid, seq, index: -1, $index: -1, _index: index, treeIndex: -1, _tIndex: -1, items: [], parent: null, level: 0, height: 0, resizeHeight: 0, oTop: 0, expandHeight: 0 };
539
539
  fullAllDataRowIdData[rowid] = rest;
540
540
  fullDataRowIdData[rowid] = rest;
541
541
  }
@@ -557,6 +557,7 @@ function updateAfterDataIndex($xeTable) {
557
557
  const childrenField = treeOpts.children || treeOpts.childrenField;
558
558
  const fullMaps = {};
559
559
  if (treeConfig) {
560
+ let _treeIndex = 0;
560
561
  const { handleGetRowId } = createHandleGetRowId($xeTable);
561
562
  XEUtils.eachTree(afterTreeFullData, (row, index, items, path) => {
562
563
  const rowid = handleGetRowId(row);
@@ -565,12 +566,14 @@ function updateAfterDataIndex($xeTable) {
565
566
  if (rowRest) {
566
567
  rowRest.seq = seq;
567
568
  rowRest.treeIndex = index;
569
+ rowRest._tIndex = _treeIndex;
568
570
  }
569
571
  else {
570
- const rest = { row, rowid, seq, index: -1, $index: -1, _index: -1, treeIndex: -1, items: [], parent: null, level: 0, height: 0, resizeHeight: 0, oTop: 0, expandHeight: 0 };
572
+ const rest = { row, rowid, seq, index: -1, $index: -1, _index: -1, treeIndex: -1, _tIndex: _treeIndex, items: [], parent: null, level: 0, height: 0, resizeHeight: 0, oTop: 0, expandHeight: 0 };
571
573
  fullAllDataRowIdData[rowid] = rest;
572
574
  fullDataRowIdData[rowid] = rest;
573
575
  }
576
+ _treeIndex++;
574
577
  fullMaps[rowid] = row;
575
578
  }, { children: transform ? treeOpts.mapChildrenField : childrenField });
576
579
  if (transform) {
@@ -2208,7 +2211,7 @@ const calcCellHeight = ($xeTable) => {
2208
2211
  const { fullAllDataRowIdData } = internalData;
2209
2212
  const defaultRowHeight = $xeTable.computeDefaultRowHeight;
2210
2213
  const el = $xeTable.$refs.refElem;
2211
- if (!isAllOverflow && scrollYLoad && el) {
2214
+ if (!isAllOverflow && (scrollYLoad || scrollXLoad) && el) {
2212
2215
  const { handleGetRowId } = createHandleGetRowId($xeTable);
2213
2216
  tableData.forEach(row => {
2214
2217
  const rowid = handleGetRowId(row);
@@ -3925,7 +3928,7 @@ const Methods = {
3925
3928
  const handleRowCache = (row, index, items, currIndex, parentRow, rowid, level, seq) => {
3926
3929
  let rowRest = fullAllDataRowIdMaps[rowid];
3927
3930
  if (!rowRest) {
3928
- rowRest = { row, rowid, seq, index: -1, _index: -1, $index: -1, treeIndex: index, items, parent: parentRow, level, height: 0, resizeHeight: 0, oTop: 0, expandHeight: 0 };
3931
+ rowRest = { row, rowid, seq, index: -1, _index: -1, $index: -1, treeIndex: index, _tIndex: -1, items, parent: parentRow, level, height: 0, resizeHeight: 0, oTop: 0, expandHeight: 0 };
3929
3932
  }
3930
3933
  rowRest.treeLoaded = false;
3931
3934
  rowRest.expandLoaded = false;
@@ -4030,7 +4033,7 @@ const Methods = {
4030
4033
  XEUtils.eachTree(rows, (childRow, index, items, path, parentItem, nodes) => {
4031
4034
  const rowid = getRowid($xeTable, childRow);
4032
4035
  const parentRow = parentItem || parentRest.row;
4033
- const rest = { row: childRow, rowid, seq: -1, index, _index: -1, $index: -1, treeIndex: -1, items, parent: parentRow, level: parentLevel + nodes.length, height: 0, resizeHeight: 0, oTop: 0, expandHeight: 0 };
4036
+ const rest = { row: childRow, rowid, seq: -1, index, _index: -1, $index: -1, treeIndex: -1, _tIndex: -1, items, parent: parentRow, level: parentLevel + nodes.length, height: 0, resizeHeight: 0, oTop: 0, expandHeight: 0 };
4034
4037
  fullDataRowIdData[rowid] = rest;
4035
4038
  fullAllDataRowIdData[rowid] = rest;
4036
4039
  }, { children: childrenField });
@@ -232,16 +232,17 @@ function renderRowExpandedVNs(h, $xeTable) {
232
232
  let rowIndex = -1;
233
233
  let $rowIndex = -1;
234
234
  if (rowRest) {
235
+ rowIndex = rowRest.index;
236
+ $rowIndex = rowRest.$index;
237
+ _rowIndex = rowRest._index;
235
238
  rowLevel = rowRest.level;
239
+ seq = rowRest.seq;
236
240
  if (isRowGroupStatus || (treeConfig && transform && seqMode === 'increasing')) {
237
241
  seq = rowRest._index + 1;
238
242
  }
239
- else {
240
- seq = rowRest.seq;
243
+ else if ((treeConfig && seqMode === 'fixed')) {
244
+ seq = rowRest._tIndex + 1;
241
245
  }
242
- rowIndex = rowRest.index;
243
- $rowIndex = rowRest.$index;
244
- _rowIndex = rowRest._index;
245
246
  }
246
247
  if (expandHeight) {
247
248
  cellStyle.height = `${expandHeight}px`;
package/es/ui/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { VxeUI } from '@vxe-ui/core';
2
2
  import { getFuncText } from './src/utils';
3
- export const version = "3.17.0-beta.12";
3
+ export const version = "3.17.0-beta.13";
4
4
  VxeUI.version = version;
5
5
  VxeUI.tableVersion = version;
6
6
  VxeUI.setConfig({
package/es/ui/src/log.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { VxeUI } from '@vxe-ui/core';
2
2
  const { log } = VxeUI;
3
- const version = `table v${"3.17.0-beta.12"}`;
3
+ const version = `table v${"3.17.0-beta.13"}`;
4
4
  export const warnLog = log.create('warn', version);
5
5
  export const errLog = log.create('error', version);
package/lib/index.umd.js CHANGED
@@ -2002,7 +2002,7 @@ function getClass(property, params) {
2002
2002
  ;// CONCATENATED MODULE: ./packages/ui/index.ts
2003
2003
 
2004
2004
 
2005
- const version = "3.17.0-beta.12";
2005
+ const version = "3.17.0-beta.13";
2006
2006
  core_.VxeUI.version = version;
2007
2007
  core_.VxeUI.tableVersion = version;
2008
2008
  core_.VxeUI.setConfig({
@@ -2668,7 +2668,7 @@ function isNodeElement(elem) {
2668
2668
  const {
2669
2669
  log: log_log
2670
2670
  } = core_.VxeUI;
2671
- const log_version = `table v${"3.17.0-beta.12"}`;
2671
+ const log_version = `table v${"3.17.0-beta.13"}`;
2672
2672
  const warnLog = log_log.create('warn', log_version);
2673
2673
  const errLog = log_log.create('error', log_version);
2674
2674
  ;// CONCATENATED MODULE: ./packages/table/src/columnInfo.ts
@@ -5888,6 +5888,7 @@ function updateAfterListIndex($xeTable) {
5888
5888
  $index: -1,
5889
5889
  _index: index,
5890
5890
  treeIndex: -1,
5891
+ _tIndex: -1,
5891
5892
  items: [],
5892
5893
  parent: null,
5893
5894
  level: 0,
@@ -5926,6 +5927,7 @@ function updateAfterDataIndex($xeTable) {
5926
5927
  const childrenField = treeOpts.children || treeOpts.childrenField;
5927
5928
  const fullMaps = {};
5928
5929
  if (treeConfig) {
5930
+ let _treeIndex = 0;
5929
5931
  const {
5930
5932
  handleGetRowId
5931
5933
  } = createHandleGetRowId($xeTable);
@@ -5936,6 +5938,7 @@ function updateAfterDataIndex($xeTable) {
5936
5938
  if (rowRest) {
5937
5939
  rowRest.seq = seq;
5938
5940
  rowRest.treeIndex = index;
5941
+ rowRest._tIndex = _treeIndex;
5939
5942
  } else {
5940
5943
  const rest = {
5941
5944
  row,
@@ -5945,6 +5948,7 @@ function updateAfterDataIndex($xeTable) {
5945
5948
  $index: -1,
5946
5949
  _index: -1,
5947
5950
  treeIndex: -1,
5951
+ _tIndex: _treeIndex,
5948
5952
  items: [],
5949
5953
  parent: null,
5950
5954
  level: 0,
@@ -5956,6 +5960,7 @@ function updateAfterDataIndex($xeTable) {
5956
5960
  fullAllDataRowIdData[rowid] = rest;
5957
5961
  fullDataRowIdData[rowid] = rest;
5958
5962
  }
5963
+ _treeIndex++;
5959
5964
  fullMaps[rowid] = row;
5960
5965
  }, {
5961
5966
  children: transform ? treeOpts.mapChildrenField : childrenField
@@ -7918,7 +7923,7 @@ const calcCellHeight = $xeTable => {
7918
7923
  } = internalData;
7919
7924
  const defaultRowHeight = $xeTable.computeDefaultRowHeight;
7920
7925
  const el = $xeTable.$refs.refElem;
7921
- if (!isAllOverflow && scrollYLoad && el) {
7926
+ if (!isAllOverflow && (scrollYLoad || scrollXLoad) && el) {
7922
7927
  const {
7923
7928
  handleGetRowId
7924
7929
  } = createHandleGetRowId($xeTable);
@@ -9855,6 +9860,7 @@ const Methods = {
9855
9860
  _index: -1,
9856
9861
  $index: -1,
9857
9862
  treeIndex: index,
9863
+ _tIndex: -1,
9858
9864
  items,
9859
9865
  parent: parentRow,
9860
9866
  level,
@@ -9998,6 +10004,7 @@ const Methods = {
9998
10004
  _index: -1,
9999
10005
  $index: -1,
10000
10006
  treeIndex: -1,
10007
+ _tIndex: -1,
10001
10008
  items,
10002
10009
  parent: parentRow,
10003
10010
  level: parentLevel + nodes.length,
@@ -18076,7 +18083,7 @@ function renderTdColumn(h, $xeTable, seq, rowid, fixedType, isOptimizeMode, rowL
18076
18083
  if (!fixedHiddenColumn && editConfig && (editRender || cellRender) && (editOpts.showStatus || editOpts.showUpdateStatus)) {
18077
18084
  isDirty = $xeTable.isUpdateByRow(row, column.field);
18078
18085
  }
18079
- const isVNAutoHeight = scrollYLoad && !hasEllipsis;
18086
+ const isVNAutoHeight = !hasEllipsis && (scrollYLoad || scrollXLoad);
18080
18087
  let cellHeight = getCellRestHeight(rowRest, cellOpts, rowOpts, defaultRowHeight);
18081
18088
  const isLastColumn = $columnIndex === columns.length - 1;
18082
18089
  const isAutoCellWidth = !column.resizeWidth && (column.minWidth === 'auto' || column.width === 'auto');
@@ -18112,7 +18119,7 @@ function renderTdColumn(h, $xeTable, seq, rowid, fixedType, isOptimizeMode, rowL
18112
18119
  }
18113
18120
  tcStyle.width = `${column.renderWidth + mergeColWidth - cellOffsetWidth}px`;
18114
18121
  }
18115
- if (scrollYLoad || hasEllipsis || isCsHeight || isRsHeight) {
18122
+ if (scrollYLoad || scrollXLoad || hasEllipsis || isCsHeight || isRsHeight) {
18116
18123
  tcStyle.height = `${cellHeight}px`;
18117
18124
  } else {
18118
18125
  tcStyle.minHeight = `${cellHeight}px`;
@@ -18304,14 +18311,15 @@ function renderRows(h, _vm, fixedType, isOptimizeMode, tableData, tableColumn) {
18304
18311
  };
18305
18312
  }
18306
18313
  if (rowRest) {
18314
+ rowIndex = rowRest.index;
18315
+ _rowIndex = rowRest._index;
18307
18316
  rowLevel = rowRest.level;
18317
+ seq = rowRest.seq;
18308
18318
  if (hasRowGroupAggregate || treeConfig && transform && seqMode === 'increasing') {
18309
18319
  seq = rowRest._index + 1;
18310
- } else {
18311
- seq = rowRest.seq;
18320
+ } else if (treeConfig && seqMode === 'fixed') {
18321
+ seq = rowRest._tIndex + 1;
18312
18322
  }
18313
- rowIndex = rowRest.index;
18314
- _rowIndex = rowRest._index;
18315
18323
  }
18316
18324
  const params = {
18317
18325
  $table: $xeTable,
@@ -23228,6 +23236,7 @@ function insertTreeRow($xeTable, newRecords, isAppend) {
23228
23236
  _index: -1,
23229
23237
  $index: -1,
23230
23238
  treeIndex: -1,
23239
+ _tIndex: -1,
23231
23240
  items: parentChilds,
23232
23241
  parent: parentRow,
23233
23242
  level: parentLevel + 1,
@@ -23252,6 +23261,7 @@ function insertTreeRow($xeTable, newRecords, isAppend) {
23252
23261
  _index: -1,
23253
23262
  $index: -1,
23254
23263
  treeIndex: -1,
23264
+ _tIndex: -1,
23255
23265
  items: tableFullTreeData,
23256
23266
  parent: null,
23257
23267
  level: 0,
@@ -23322,6 +23332,7 @@ function handleInsertRowAt($xeTable, records, targetRow, isInsertNextRow) {
23322
23332
  _index: -1,
23323
23333
  $index: -1,
23324
23334
  treeIndex: -1,
23335
+ _tIndex: -1,
23325
23336
  items: afterFullData,
23326
23337
  parent: null,
23327
23338
  level: 0,
@@ -23368,6 +23379,7 @@ function handleInsertRowAt($xeTable, records, targetRow, isInsertNextRow) {
23368
23379
  _index: -1,
23369
23380
  $index: -1,
23370
23381
  treeIndex: -1,
23382
+ _tIndex: -1,
23371
23383
  items: afterFullData,
23372
23384
  parent: null,
23373
23385
  level: 0,
@@ -23418,6 +23430,7 @@ function handleInsertRowAt($xeTable, records, targetRow, isInsertNextRow) {
23418
23430
  _index: -1,
23419
23431
  $index: -1,
23420
23432
  treeIndex: -1,
23433
+ _tIndex: -1,
23421
23434
  items: parentMapChilds,
23422
23435
  parent: parentRow,
23423
23436
  level: parentLevel + 1,
@@ -28207,15 +28220,16 @@ function renderRowExpandedVNs(h, $xeTable) {
28207
28220
  let rowIndex = -1;
28208
28221
  let $rowIndex = -1;
28209
28222
  if (rowRest) {
28223
+ rowIndex = rowRest.index;
28224
+ $rowIndex = rowRest.$index;
28225
+ _rowIndex = rowRest._index;
28210
28226
  rowLevel = rowRest.level;
28227
+ seq = rowRest.seq;
28211
28228
  if (isRowGroupStatus || treeConfig && transform && seqMode === 'increasing') {
28212
28229
  seq = rowRest._index + 1;
28213
- } else {
28214
- seq = rowRest.seq;
28230
+ } else if (treeConfig && seqMode === 'fixed') {
28231
+ seq = rowRest._tIndex + 1;
28215
28232
  }
28216
- rowIndex = rowRest.index;
28217
- $rowIndex = rowRest.$index;
28218
- _rowIndex = rowRest._index;
28219
28233
  }
28220
28234
  if (expandHeight) {
28221
28235
  cellStyle.height = `${expandHeight}px`;