patternfly-bootstrap-treeview
                                
                                 patternfly-bootstrap-treeview copied to clipboard
                                
                                    patternfly-bootstrap-treeview copied to clipboard
                            
                            
                            
                        Dynamically add new node after lazyLoad has been triggered
Hi.
I have a function that allows for uploading in the tree, meaning that I need to add a new node when the file has been uploaded. I expected "addNode" to do this but after receiving the error "Uncaught TypeError: Cannot read property 'visible' of undefined", I get the feeling that the addNode functionality must take a node that has been passed through the renderer, i.e. an actual node and not just a plain node object passed in at initialisation of the tree.
So is there a way that I can add a node, as in a plain node object, or is there a way I can call the renderer that is passed through in the lazyLoad function?
@maxstralin can you provide a failing example where you reproduce the issue?