Skip to content

Commit

Permalink
feat: force grid update
Browse files Browse the repository at this point in the history
  • Loading branch information
WillsterJohnsonAtZenesis committed Jun 28, 2024
1 parent 14e96a8 commit f90db54
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions source/class/qxl/datagrid/DataGrid.js
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,13 @@ qx.Class.define("qxl.datagrid.DataGrid", {
* Event handler for changes in the data source's size
*/
__onDataSourceChangeSize() {
this.forceUpdate();
},

/**
* Forces the grid to fully update it's display. Use sparingly.
*/
forceUpdate() {
this.getQxObject("widgetPane").invalidateAll();
this.__sizeCalculator.invalidate();
this.updateWidgets();
Expand Down

0 comments on commit f90db54

Please sign in to comment.