This can be helpful https://forum.inductiveautomation.com/t/menu-tree-item-highlight-after-selection-on-click/89866/7?u=cose_peter1