Get changes
Closed this issue · 2 comments
jkammann1701 commented
Hi, is it possible to get the changes after dropping the element?
I want to save the changes to a database and don't want to go through each and check if changed.
I hoped the change event would give me that information but unfortunately it nothing ist returned.
Is there any way to get the changes or is it possible to add?
phphe commented
https://hetree.phphe.com/v2/api#dragcontext
dragContext.startInfo.(parent|siblings|indexBeforeDrop)
dragContext.targetInfo.(parent|siblings|indexBeforeDrop)
jkammann1701 commented
Thank you. I already tried it with dragContext but it was empty. I don't know why. But now it is working.