I use the CubeGrid with my custom data source:
It throws a JavaSciptException:
The problem is not about the set of the facets, since I have tried with some test data with cubeGrid.setData() and it shows correctly. But when I change to my custom data source, there is no fetchData request sent.
By the way, I use the same custom data source with a ListGrid and it works correctly: it sends automatically a fetchData request with the initial criteria; but why in the CubeGrid with autoFetchData=true, the initial fetchData request hasn't been sent?
Thank you very much for any help.
Code:
customDataSource.setDataProtocol(DSProtocol.CLIENTCUSTOM); customDataSource.setDataFormat(DSDataFormat.CUSTOM); cubeGrid.setDataSource(customDataSource); cubeGrid.setAutoFetchData(true); ... addMemeber(cubeGrid);
Code:
com.google.gwt.core.client.JavaScriptException: (TypeError): _3 is undefined fileName: http://jhu.vesinet.alsyon-tech.com:8080/alphee/gwt/cashPosition/sc/modules/ISC_Analytics.js lineNumber: 367 at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:237) at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:126) at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:561) at com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:269) at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:91) at com.smartgwt.client.widgets.cube.CubeGrid.create(CubeGrid.java) at com.smartgwt.client.widgets.BaseWidget.getOrCreateJsObj(BaseWidget.java:356) at com.smartgwt.client.widgets.layout.Layout.addMember(Layout.java:1073) at com.alsyontech.alphee.gwt.cashposition.client.widget.CashPositionMainWidget.<init>(CashPositionMainWidget.java:63)
By the way, I use the same custom data source with a ListGrid and it works correctly: it sends automatically a fetchData request with the initial criteria; but why in the CubeGrid with autoFetchData=true, the initial fetchData request hasn't been sent?
Thank you very much for any help.
Comment