gets the ID of the first child of the specified branch
id | id | the parent (branch) id |
string | returns the id of the first child of the specified branch. If there are not any, returns null |
tree.data.getFirstChildId(tree.getSelectedId());
//returns the ID of the first child of selected item
Back to top