Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    ListGrid with SelectItem problem

    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:
    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
    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

    #2
    Is there may be another way to refresh a SelectItem in a ListGrid ?

    Comment


      #3
      Is this a known issue, or is the problem on our side ?

      In our development strategy we use ListGrids to capture data as oppose to DynamicForms, and at this stage we are a bit stuck with this issue.

      Comment


        #4
        I've tried the latest nightly build 16 August, and still get this problem.
        Is there maybe another way to do it ?

        Comment


          #5
          I am with this problem too any answer about it ?

          Comment

          Working...
          X