onFolderSelect

fires when a folder is selected in the Tree view

void onFolderSelect(string id){ ... };

Parameters

idstringthe id of the selected folder

Example

$$("files").attachEvent("onFolderSelect",function(id){
    webix.message("Active folder is '" +this.getItem(id).value+"'");
});

Related samples

Back to top