patternfly-bootstrap-treeview
patternfly-bootstrap-treeview copied to clipboard
Error on addnode
$('#treeview').treeview({data:[{text:"pre Node"}]});
$('#treeview').treeview(true).addNode({text:"New Node"});
The Node is added but has a error on select node
https://stackoverflow.com/questions/54204024/jquery-bootstrap-treeview-error-on-addnode
Not sure if you are still having this error but I just ran into it myself and managed to fix it by initializing the treeview with data set to null, and then adding the data to the empty tree, hopefully that helps.