The treeView’s treeNodeAdapter would be modified to fetch new sub trees from the server using ajax. The top level nodes would come from a normal static navigation menu list. ![]() My general plan was to have an application process that can return sub tree nodes in JSON format. The down side is that it is a little inefficient because the tree gets rendered when the page loads and then you immediately tell it to refresh which causes it to render again. ![]() Seeing all this functionality that I would be giving up, or having to re-implement, if I replaced the Side Navigation Menu template with my own reinforces my decision to update the tree after it is initially created and rendered.
0 Comments
Leave a Reply. |