Hi, I am tring to drag from a grid or tree to a tree. I works when is from non datasource tree to non datasource tree as in showcase examples, but it fails when from datasource tree or grid.
This is the message when the origin is a datasource based grid:
Uncaught exception escaped : java.lang.ClassCastException
com.smartgwt.client.widgets.grid.ListGridRecord cannot be cast to com.smartgwt.client.widgets.tree.TreeNode
See the Development console log for details.
Register a GWT.setUncaughtExceptionHandler(..) for custom uncaught exception handling.
This is the message when from datasource based tree:
Uncaught exception escaped : java.lang.ClassCastException
com.smartgwt.client.widgets.grid.ListGridRecord cannot be cast to com.smartgwt.client.widgets.tree.TreeNode
See the Development console log for details.
Register a GWT.setUncaughtExceptionHandler(..) for custom uncaught exception handling.
How can I use mouse drag with datasouce based views? I have considered even building the requested treenode myself but I do not know where as this excepction is internal and I do not know in witch moment or where should I do it.
Thanks,
txemi
This is the message when the origin is a datasource based grid:
Uncaught exception escaped : java.lang.ClassCastException
com.smartgwt.client.widgets.grid.ListGridRecord cannot be cast to com.smartgwt.client.widgets.tree.TreeNode
See the Development console log for details.
Register a GWT.setUncaughtExceptionHandler(..) for custom uncaught exception handling.
This is the message when from datasource based tree:
Uncaught exception escaped : java.lang.ClassCastException
com.smartgwt.client.widgets.grid.ListGridRecord cannot be cast to com.smartgwt.client.widgets.tree.TreeNode
See the Development console log for details.
Register a GWT.setUncaughtExceptionHandler(..) for custom uncaught exception handling.
How can I use mouse drag with datasouce based views? I have considered even building the requested treenode myself but I do not know where as this excepction is internal and I do not know in witch moment or where should I do it.
Thanks,
txemi
Comment