WARN org.sablo.BrowserConsole on loading Datagrid

Forum to discuss the new web client version of Servoy.

WARN org.sablo.BrowserConsole on loading Datagrid

Postby wvitpr » Wed May 13, 2020 2:44 pm

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?
Regards,
Phillip Routley

Worldview IT
Sydney, Australia
User avatar
wvitpr
 
Posts: 219
Joined: Tue Apr 24, 2007 1:38 am

Re: WARN org.sablo.BrowserConsole on loading Datagrid

Postby wichmann » Mon Jun 07, 2021 2:33 pm

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
DataBit GmbH
Mühletobel
CH-9217 Neukirch an der Thur
wichmann
 
Posts: 23
Joined: Fri Apr 12, 2013 2:44 pm

Re: WARN org.sablo.BrowserConsole on loading Datagrid

Postby Gabi Boros » Mon Jun 07, 2021 3:07 pm

can you provide a sample to reproduce this issue?
Gabi Boros
Servoy
Gabi Boros
 
Posts: 399
Joined: Tue Jun 26, 2007 4:03 pm
Location: Timisoara, Romania

Re: WARN org.sablo.BrowserConsole on loading Datagrid

Postby wichmann » Mon Jun 07, 2021 3:47 pm

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
DataBit GmbH
Mühletobel
CH-9217 Neukirch an der Thur
wichmann
 
Posts: 23
Joined: Fri Apr 12, 2013 2:44 pm

Re: WARN org.sablo.BrowserConsole on loading Datagrid

Postby Gabi Boros » Wed Jun 09, 2021 3:23 pm

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
Gabi Boros
Servoy
Gabi Boros
 
Posts: 399
Joined: Tue Jun 26, 2007 4:03 pm
Location: Timisoara, Romania


Return to Servoy NGClient

Who is online

Users browsing this forum: No registered users and 8 guests