I have treeview
I am dropping a node to the root (no parent)
var destinationNode = args.get_destNode();
destinationNode has value and not a null
but
destinationNode.get_nodes().get_count() is equal zero
how this make sense
I want to do some validation before dropping so i wamt to know the children of the parent node
in my case the parent should be null (as it is a root)
to avoid this problem I will check the level and if it is zero I will check all the root noed but who can I get them?
I am dropping a node to the root (no parent)
var destinationNode = args.get_destNode();
destinationNode has value and not a null
but
destinationNode.get_nodes().get_count() is equal zero
how this make sense
I want to do some validation before dropping so i wamt to know the children of the parent node
in my case the parent should be null (as it is a root)
to avoid this problem I will check the level and if it is zero I will check all the root noed but who can I get them?