File tree Expand file tree Collapse file tree
packages/vtable/src/scenegraph/group-creater/progress Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -95,6 +95,12 @@ export class SceneProxy {
9595 if ( this . table . options . maintainedColumnCount ) {
9696 this . colLimit = this . table . options . maintainedColumnCount ;
9797 }
98+ if ( this . table . heightMode === 'adaptive' ) {
99+ this . rowLimit = this . table . rowCount ;
100+ }
101+ if ( this . table . widthMode === 'adaptive' ) {
102+ this . colLimit = this . table . colCount ;
103+ }
98104 }
99105
100106 get bodyLeftCol ( ) : number {
@@ -302,7 +308,9 @@ export class SceneProxy {
302308 createRowCellGroup ( onceCount : number ) {
303309 const endRow = Math . min ( this . totalRow , this . currentRow + onceCount ) ;
304310 // compute rows height
305- computeRowsHeight ( this . table , this . currentRow + 1 , endRow , false ) ;
311+ if ( this . table . heightMode !== 'adaptive' ) {
312+ computeRowsHeight ( this . table , this . currentRow + 1 , endRow , false ) ;
313+ }
306314
307315 this . rowEnd = endRow ;
308316
You can’t perform that action at this time.
0 commit comments