phphe/he-tree

Get changes

Closed this issue · 2 comments

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?

https://hetree.phphe.com/v2/api#dragcontext

dragContext.startInfo.(parent|siblings|indexBeforeDrop)
dragContext.targetInfo.(parent|siblings|indexBeforeDrop)

Thank you. I already tried it with dragContext but it was empty. I don't know why. But now it is working.