onBeforeSelect of ui.tree, Events Webix Docs

StartAPI Referenceui.treeEvents

fires before item selection has started

boolean onBeforeSelect(id id,boolean selection);

id