how to know if a node has children?

14 views
Skip to first unread message

Jorge.Nunez

unread,
Dec 3, 2008, 2:36:45 PM12/3/08
to mootree
I don't want to delete a node with children, avoiding orphan
children.
How do you think it could be done?

maybe using a parameter in data[]?

best regards,

Jorge.Nunez

unread,
Dec 3, 2008, 3:24:04 PM12/3/08
to mootree
Well, thanks God I got it:

tree.selected.nodes.length

regards,
Reply all
Reply to author
Forward
0 new messages