gets the ID of the first child of the specified branch
id | id | the parent (branch) ID |
string | the ID of the first child of the specified branch. If there aren't any, returns null |
var firstChild = tree.data.getFirstChildId(tree.getSelectedId());
// returns the ID of the first child of selected item