Announcement

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

    Nested grid in nested grid?!

    Hi!
    Iīm new to smartgwt and use the LGPL.
    I try to use a nested grid in a nested grid in a grid.
    Is this possible?
    The first nested grid works well. The second nested grid in the nested grid works on calling the datasource and receiving the records after expanding the record. But it does not display the grid, throwing the following exception:

    11:23:00.447 [ERROR] [webapp] Uncaught exception escaped
    com.google.gwt.core.client.JavaScriptException: (TypeError): Cannot call method 'find' of undefined
    stack: TypeError: Cannot call method 'find' of undefined
    at Object.isc_ListGrid_getCurrentCheckboxField [as getCurrentCheckboxField] (http://127.0.0.1:8888/webapp/sc/modules/ISC_Grids.js:1127:110)
    at Object.isc_ListGrid__dataArrived [as $66d] (http://127.0.0.1:8888/webapp/sc/modules/ISC_Grids.js:1043:9)
    at Object.anonymous [as dataArrived] (eval at <anonymous> (http://127.0.0.1:8888/webapp/sc/modules/ISC_Core.js:38:72))
    at Object.isc_ResultSet__doneDataArriving [as $522] (http://127.0.0.1:8888/webapp/sc/modules/ISC_DataBinding.js:1291:105)
    at Object.isc_ResultSet_fetchRemoteDataReply [as fetchRemoteDataReply] (http://127.0.0.1:8888/webapp/sc/modules/ISC_DataBinding.js:1240:67)
    at Object.isc_c_Class_fireCallback [as fireCallback] (http://127.0.0.1:8888/webapp/sc/modules/ISC_Core.js:282:49)
    at Object.isc_Class_fireCallback [as fireCallback] (http://127.0.0.1:8888/webapp/sc/modules/ISC_Core.js:376:89)
    at Object.isc_DataSource__completeResponseProcessing [as $38b] (http://127.0.0.1:8888/webapp/sc/modules/ISC_DataBinding.js:527:14)
    at Object.isc_DataSource_processResponse [as processResponse] (http://127.0.0.1:8888/webapp/sc/modules/ISC_DataBinding.js:379:6)
    at [object Object].<anonymous> (unknown source)
    type: non_object_property_call
    arguments: find,
    __gwt_ObjectId: 4053
    at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:195)
    at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:120)
    at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:507)
    at com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:264)
    at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:91)
    at com.google.gwt.core.client.impl.Impl.apply(Impl.java)
    at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:188)
    at sun.reflect.GeneratedMethodAccessor171.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
    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.BrowserChannel.reactToMessages(BrowserChannel.java:1669)
    at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:401)
    at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:222)
    at java.lang.Thread.run(Unknown Source)


    Even if i try to just display a button in the second nested grid, it isnīt displayed (w/O error)

    Is it possible to do such "cascading" nested grids?

    Thanks for a quick reply!

    Manuel

    #2
    Multiply nested grids work fine - this appears to be some other kind of coding error - it looks as though the grid has no fields.

    Comment

    Working...
    X