jQuery TreeView - add

jQuery TreeView - add

Hi,

First i would like to thank the author(treeview) for providing such a nice plugin.

My Question is how can we add a element to a existing tree

say i have a tree view with fruits and vegetables as the main elements, In the fruits i have sub-elements apple, orange and in the vegetables i have tomato, carrot

Now on a button click i want to add a new fruit pineapple to the existing fruits element.

so now my tree view should be like this fruits which contains apple, orange and pineapple and vegetables which contains tomato and carrot.

Is this possible with the add option in the tree view.

If so can someone help me how to move with this. i have seen examples which adds a new element

Please help me in this

Thanks
Kumar