Having a treeview with images for each node, I tried changing the image for the node upon selection using the following event handler:
While stepping it appears that dataItem.imageUrl has been changed, however the treeview does not show the new image.
How can I get the new image to show?
function onSelectNode( e ){ var dataItem = this.dataItem( e.node ); dataItem.imageUrl = "someImage.png";]How can I get the new image to show?