WARN org.sablo.BrowserConsole on loading Datagrid

HI,
I’m getting a lot of below warnings… I understand why as I am setting column widths etc, I use the onReady() event with powergrids because I am in control of loading the data, but if I have a datagrid component using the forms foundset, how do I use the onReady() event?

WARN org.sablo.BrowserConsole - 3D95AD1:2|7DF2D94C-D950-4262-917D-DC3D42694D4F|phil.routley|ag-Grid: tried to call sizeColumnsToFit() but the grid is coming back with zero width, maybe the grid is not visible yet on the screen?

Hi,

is there a solution for this problem in the meantime. I get this warning in power-grid.

WARN org.sablo.BrowserConsole - 93096F8:2|8A78FCAE-5F24-45F3-A2AA-F61B2C0F8219|wichmann|ag-Grid: tried to call sizeColumnsToFit() but the grid is coming back with zero width, maybe the grid is not visible yet on the screen?

BR
Andreas

can you provide a sample to reproduce this issue?

Hi,

there are forms with power-grid an some columns.

  • all columns have width > 0.
  • all columns have autoResize = false.
    the warning appear after onHide-Event of the Form

BR
Andreas

I created a ticket & fixed the issue related to the warning showing up when the form is hidden: https://support.servoy.com/browse/SVYX-244