Documentation

getFirstChildId

gets the ID of the first child of the specified branch

string getFirstChildId(id id );

Parameters

id idthe parent (branch) id

Returns

stringreturns the id of the first child of the specified branch. If there are not any, returns null

See also

Example

tree.data.getFirstChildId(tree.getSelectedId()); 
    //returns the ID of the first child of selected item

Back to top