attachEvent onClick at Layout

Hi,

I need to deselect a treeselection on a click outside of the Tree. The Tree is attached to a layout, so i thought about firing the deselection on an onClick event at the layout. But there is no such event at layout. Any ideas or workarounds would be very appreciated!

Thank you and a nice weekend,
Luke :slight_smile:

Hi
Please, provide us completed demo to see the whole content of this cell and logic of your app.
We will try to offer approach for you based on your demo.
docs.dhtmlx.com/doku.php?id=othe … leted_demo