Skip to content

Commit

Permalink
Fix For olifolkerd#4600 - Error When Only Frozen Columns Are Present …
Browse files Browse the repository at this point in the history
…and renderHorizontal is Enabled
  • Loading branch information
kunaljaykam committed Oct 17, 2024
1 parent a488466 commit d1402b5
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/js/core/rendering/renderers/VirtualDomHorizontal.js
Original file line number Diff line number Diff line change
Expand Up @@ -190,9 +190,11 @@ export default class VirtualDomHorizontal extends Renderer{
}

reinitializeColumnWidths(columns){
for(let i = this.leftCol; i <= this.rightCol; i++){
this.columns[i].reinitializeWidth();
}
this.table.columnManager.columnsByIndex.forEach(column => {
if (column.visible) {
column.reinitializeWidth();
}
});
}

//////////////////////////////////////
Expand Down

0 comments on commit d1402b5

Please sign in to comment.