(SC_SNAPSHOT-2011-03-15/PowerEdition Deployment 2011-03-15)
Browser: Firefox/3.6.15
Hello, since a few weeks (ie. since like the nightlies of 3 weeks ago), I have been encountering this error shown below, upon refetching data in a listgrid. I wonder what it triggers. When this error is triggered (it is really spammed in my console, when it happens, probably happens for each row), the ListGrid doesn't show the data, so it is quite a showstopper.
I haven't come further than noticing that, If I scroll a listgrid half way, then switch a tab (the grid is part of a tabset), and switch back (which triggers a refetch, that's the way I programmed it), then the following error occurs.
As far as I can see in the code there is no code that sets or gets the heights of a row. Any thoughts or hints?
Below the stacktrace I put my grid initialization (hope it's readable/useful)
my grid initialization code:
Browser: Firefox/3.6.15
Hello, since a few weeks (ie. since like the nightlies of 3 weeks ago), I have been encountering this error shown below, upon refetching data in a listgrid. I wonder what it triggers. When this error is triggered (it is really spammed in my console, when it happens, probably happens for each row), the ListGrid doesn't show the data, so it is quite a showstopper.
I haven't come further than noticing that, If I scroll a listgrid half way, then switch a tab (the grid is part of a tabset), and switch back (which triggers a refetch, that's the way I programmed it), then the following error occurs.
As far as I can see in the code there is no code that sets or gets the heights of a row. Any thoughts or hints?
Below the stacktrace I put my grid initialization (hope it's readable/useful)
Code:
13:46:50.640 [ERROR] [generatedcode] 13:46:50.562:TMR2:WARN:GridBody:isc_UsedEnergyRichTableView_1_0_body:row heights not yet available; returning all zeroes com.smartgwt.client.core.JsObject$SGWT_WARN: 13:46:50.562:TMR2:WARN:GridBody:isc_UsedEnergyRichTableView_1_0_body:row heights not yet available; returning all zeroes at sun.reflect.GeneratedConstructorAccessor47.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:105) at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71) at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:157) at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChannelServer.java:281) at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:531) at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:352) at java.lang.Thread.run(Thread.java:680)
Code:
grid.setWidth100(); grid.setHeight100(); Log.debug("Initializing UsedEnergyRichTableView"); grid.setAlternateRecordStyles(true); // grid.setCellHeight(22); grid.setDataSource(dataSource); grid.setAutoFetchData(false); grid.setCanEdit(true); grid.setModalEditing(true); grid.setShowFilterEditor(true); grid.setDoubleClickDelay(30); //mobile version should get single click edit if (EnergySystemApplicationPanel.isMobileBrowser()) { grid.setEditEvent(ListGridEditEvent.CLICK); } else { grid.setEditEvent(ListGridEditEvent.DOUBLECLICK); } grid.setListEndEditAction(RowEndEditAction.DONE); grid.setCanRemoveRecords(false); grid.setAutoSaveEdits(true); grid.setShowRecordComponents(true); grid.setShowRecordComponentsByCell(true); //... initialization of fields. Clipped (could post if deemed necessary)
Comment