I’ve been using TileGrid with success until this morning when I received a curious error:
com.google.gwt.core.client.JavaScriptException: (TypeError): Object expected
number: -2146823281
description: Object expected
at com.smartgwt.client.util.JSOHelper.setAttribute(Native Method)
at com.smartgwt.client.widgets.BaseWidget.getOrCreateJsObj(BaseWidget.java:319)
at com.smartgwt.client.widgets.layout.Layout.addMember(Layout.java:784)
at com.mustang.power.ems.client.FileDisplayTileGrid.<init>(FileDisplayTileGrid.java:110)
The weird thing is, I receive this error later on when I add the TileGrid as a member of the enclosing VLayout if I don’t call setData(). This makes me think it has something to do with the setup of my TileGrid, but it was working before with the same settings, and I’ve tried to follow the example as much as possible. Any ideas? I’ve attached the source file for reference so you can look at the TileGrid setup. I’m running GWT 1.6 and using the latest smartgwt1.0b3-SNAPSHOT via maven. Any help would be much appreciated…this has frustrated me for the past few hours.
Thanks,
Tim
FileDisplayTileGrid.java (9.08 KB)