Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
460
setSelected does not work
posted

Try to find and hilite node with certain values on client side. I use node.setSelected(true); when found a node, but this has no effect, i.e the node will not be hilited, if the parent of node was not expanded before call to the searching function. Expanding the parent  - ParentNode.setExpanded(true); - does not help, the parent will be expanded, the found node will be visible, but not hilited due setSelected. Checking the selected node by tree.getSelectedNode after trying to select returns right node, but it is not hilited. The visual effect of selection is simply not there.

Any solution, please ... ?