Hi Communit/Isomorphic
I am using: SmartClient Version: v9.0p_2013-08-28/LGPL Deployment (built 2013-08-28)
I can provide more informations if needed.
I am using 2 ListGrids both are using the same DataSource.
Other than that, they are seperate. Don't need to move between the ListGrids.
With ListGrid_1 am am doing fetchData({}, "Mycallback")
If I do a Drag&Drop moving a node to a different folder everything is fine.
The node gets removed from the original parent and will be placed to the new folder.
The overloaded FolderDrop() is called ... doing some logging, and calling this.Super("folderDrop"), arguments)
The Super FolderDrop than calls an updateData(), the DataSource is bound to a server, not local.
Server sided, Data is updated correctly.
Now about my second ListGrid.
The only difference is that I do fetchData({criteria,criteria,criteria...}, callback, {})
As soon as Super folderDrop calls udpateData, the Data is updated on the server, like in the first ListGrid.
But the moved object/node vanishes.
I found this one.
http://forums.smartclient.com/forum/...op-on-treegrid
If I do the same, the TreeGrid will be correctly visually updated on client side. But as soon as I try to combine it with server communication like calling this.Super("folderDrop", arguments) the node vanishes again. Still serversided, data was updated correctly.
So I don't think its a server sided issue.
Also I don't think this is the right way, because with the first TreeGrid there is also no need to do stuff like data.addList.
There are no stacktraces, or errors in the log.
If someone could point me to the right direction, it would be very helpfull. I am reading documentations and forum threads, but couldn't find the right solution yet.
My guessing is, it's something simple.
Thanks a lot
I am using: SmartClient Version: v9.0p_2013-08-28/LGPL Deployment (built 2013-08-28)
I can provide more informations if needed.
I am using 2 ListGrids both are using the same DataSource.
Other than that, they are seperate. Don't need to move between the ListGrids.
With ListGrid_1 am am doing fetchData({}, "Mycallback")
If I do a Drag&Drop moving a node to a different folder everything is fine.
The node gets removed from the original parent and will be placed to the new folder.
The overloaded FolderDrop() is called ... doing some logging, and calling this.Super("folderDrop"), arguments)
The Super FolderDrop than calls an updateData(), the DataSource is bound to a server, not local.
Server sided, Data is updated correctly.
Now about my second ListGrid.
The only difference is that I do fetchData({criteria,criteria,criteria...}, callback, {})
As soon as Super folderDrop calls udpateData, the Data is updated on the server, like in the first ListGrid.
But the moved object/node vanishes.
I found this one.
http://forums.smartclient.com/forum/...op-on-treegrid
If I do the same, the TreeGrid will be correctly visually updated on client side. But as soon as I try to combine it with server communication like calling this.Super("folderDrop", arguments) the node vanishes again. Still serversided, data was updated correctly.
So I don't think its a server sided issue.
Also I don't think this is the right way, because with the first TreeGrid there is also no need to do stuff like data.addList.
There are no stacktraces, or errors in the log.
If someone could point me to the right direction, it would be very helpfull. I am reading documentations and forum threads, but couldn't find the right solution yet.
My guessing is, it's something simple.
Thanks a lot
Comment