But the console shows "undefined".
Everything else is working, so the node is created under the parent as expected if I save the form.
Any ideas?
Thanks.
---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/96842426-treeview-create-event-shows-parent-as-undefined?utm_campaign=plugin&utm_content=tracker%2F10339775&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F10339775&utm_medium=issues&utm_source=github).
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Hi, I just try to catch the parent Id of the current :create event like this:
$("#tree").on('treeview:create', function(event, parent) { console.log(parent); });
But the console shows "undefined". Everything else is working, so the node is created under the parent as expected if I save the form. Any ideas?
Thanks.