Here => http://docs.webix.com/datatree__getting_value.html
It’s $parent and not parent.
Item object has the following properties:
id - (string) the item id
value - (string) the item value
$level - (number) the level of nesting (one-based numbering)
parent - (string) the id of the item's parent