getFirstChildId

gets the ID of the first child of the specified branch

string getFirstChildId(id id);

Parameters

ididthe parent (branch) ID

Returns

stringthe ID of the first child of the specified branch. If there aren't any, returns null

Example

webix.ui({
    view:"filemanager", id:'files',
    data:filemanager_data
});
 
console.log($$('files').getFirstChildId("reports"));

See also
Back to top