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
Hello Tim,
I have investigated your issue and, I have asked our engineering staff to examine this further. To ensure that it will receive attention, I have logged this behavior in our internal tracking system with a Development ID of 149438. The next step will be for a developer to review my investigation and confirm my findings or to offer a fix, or other resolution.
I will leave this case open and update you with any new information after the review. You can also continue to send updates to this case at any time.
You can view the status of the development issue connected to this case by going to the “My IG” tab on our website, hovering to the "My Support Activity" dropdown and selecting the "Development Issues" tab.
Please let me know if you need more information.
I'm using dataSourceUrl = (json service URL)
and dataSourceType = 'json'.
Version is latest (trial).
Thanks!
What version of IgniteUI are you using? Also, for the load on demand are you using MVC or HTML with odata?
Please let me know if you have any further questions regarding this matter.
Great - thank you Prabha.
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.