Hello all,
I've been working through various quirks with the igTree and drag and drop, but have found one that is a huge pain. When dropping a node onto another node, it's added as a child correctly. However, when dragging this node (with a new child) onto another node, the node is collapsed. When expanding, rather than display the node that was previously added, it re-retrieves the data from the server, which of course is inaccurate.
This seems needless, in that when the drop event occurs, the actual dragged element still has all of its children available in the markup. I've tried catching the collapsing event for the dragged node but that event never fires.
Now I'm looking at a cumbersome server-side management of tree changes and applying them to any populate requests. This is far from ideal.
Has anyone else had any experience with this?
(also, there's strange behavior where upon dragging a node to its parent, the node simply disappears, but for the time being I've just disabled this as a drop target)
Thanks
Hi there,
I will create a customer case for you. Could you assist our developer support by providing them with a small sample isolating the issues that you're experiencing and providing the steps to reproduce.
Thank you for using the Infragistics forums!
You can take any "load on demand" sample that is on the site, and enable drag + drop.
You can drag / drop to any of the nodes, but when you drag the node with the new children to another node, it will collapse it, and re-retrieve on expand, which gets the original server side data, without the children that were added to it.
Please let me know if you are able to reproduce.
Hello Tim,
I am currently putting together a sample to see if I am able to reproduce the issue. I will update you by the end of the day tomorrow with the progress.
Please let me know if you have any further questions regarding this matter.
Great - thank you Prabha.
I'm using dataSourceUrl = (json service URL)
and dataSourceType = 'json'.
Version is latest (trial).
Thanks!
Hi Tim,
I have fixed the issue with drag and drop and load on demand, however the fix won't make it in this service release because we currently have our builds frozen for this service release. You can contact developer support in order to get the fix prior to the next SR.
Thank you for your patience!
Issue "149438: Dragged and dropped nodes are missing when the target node is expanded" has been addressed in service release versions jQuery_13.1.20131.2292, jQuery_12.2.20122.2275.
This service release is now available under your account at the Infragistics Website. To download the service release, log in to ‘Account’ and select ‘Keys & Downloads’. Select the appropriate tab for this product; then the license key. The available service releases (Hot Fixes) should now be listed on the page.
I have opened a support request (CAS-121681-J8D4R1) for this forum to provide more information Please use the following link to log onto your account at Infragistics.Com:
https://ko.infragistics.com/my-account/support-activity
Once you are logged onto your account, go to My Support Activity to view the progress of this support request. An update will be sent to you in the support request with further information.
Please let me know if you have any questions.
Hi Konstantin,
Can you advise on how we could get this bug fix? We are in the process of evaluating your product and need this fix to move forward.
Thank you!
How would I go about doing that?