Hi, I follow the documentation about un-selecting an item in a treeview, like this:
ktv.select($());
After, if I call ".select()", there's no node returned. And, if I search for k-node-selected", there's also none.
BUT
the node with id "(id-of-treeview)_tv_active" is still there. And, because we used it for some query, we got errors.
When we create a treeview from a div called <div id="test"></div>
The selected node gets its ID set to id="test_tv_active".
First, I don't think you should use an "id" for that.
And, you can fix the "unselect" by also removing the id from that item when we un-select it.