I've been working with Jörn Zaefferer's treeview control, and overall have found it great. But I am having problem, not as much with dynamically adding items, but getting them to properly display once they are added. My treeview is something like this:
Level 1 Item (open) Level 2 Item (open) Level 3 Item (closed) Level 3 Item (closed) Level 2 Item (open) Each of the level 2 items have an "add" icon that lets me add a Level 3 item. I am actually able to add the item (under Firefox 3.5.5, trying to get it work with IE6) with success to the treeview, except for 2 things. A) If I click on the "Level 3" add icon item, to add a Level 4 item, I cannot expand the treeview to see the new Level 4 Item I created. B) The treeview does not automatically expand my new Level 3 item, once I've clicked on the Level 2 add icon.