disable specific node in sidebar

Hi,
How can I disable specific node (child) without removing the node in sidebar?
Thank you

Hello,
To remove the selection you can use onBeforeSelect event
Please check the sample: https://snippet.webix.com/oiv70r8k