When you want to refresh a SelectItem in a DynamicForm, you do selectitem.fetchData().
But when you attach that SelectItem to a ListGridField via setEditorType(), and do the same, you get an error:
Is there a way to refresh a SelectItem in a ListGrid ?
I'am using smartGWT 2.2(I've tried it on the latest build too) in FireFox 3.6.8 on Ubuntu 9.10
But when you attach that SelectItem to a ListGridField via setEditorType(), and do the same, you get an error:
Code:
Uncaught exception escaped : com.google.gwt.core.client.JavaScriptException
(TypeError): self.fetchData is not a function
fileName: http://127.0.0.1:8888
lineNumber: 11
stack: ()@http://127.0.0.1:8888:11
@:0
([object GWTJavaObject],13762578)@http://127.0.0.1:8888/testcase1/hosted.html?testcase1:56
(61)@http://127.0.0.1:8888:24
((function () {__gwt_makeJavaInvoke(0)(timer, 13762578);}),[object XPCCrossOriginWrapper],[object Object])@http://127.0.0.1:8888:12
@:0
(null,65563,(function () {__gwt_makeJavaInvoke(0)(timer, 13762578);}),[object XPCCrossOriginWrapper],[object Object])@http://127.0.0.1:8888/testcase1/hosted.html?testcase1:56
(61)@http://127.0.0.1:8888:47
I'am using smartGWT 2.2(I've tried it on the latest build too) in FireFox 3.6.8 on Ubuntu 9.10
Comment