I am trying to create a tree view that re-populates itself when a user adds something somewhere else on the page. I am stuck with an existing data source which is a list of folders and links in folders. So each node needs to be a folder or a link inside a folder. Elsewhere on the page the user can add a new link and/or folder and that means the tree should get updated accordingly. What's the best way to tackle this?