here working on use case searching node in tree , want mark search result color.
i able search node in tree using findchild api , returns me searched node tree , not able mark node color , identification purpose.
i tried following
searchresult.cls = 'bg_treenodecolor';
and css
.bg_treenodecolor { background-color:#ff0000 !important; }
anybody has idea on ?
you can try :
searchresult.set('cls', 'bg_treenodecolor');
good luck.