data grid control

Advanced Treeview Tree Menu

[ Tree Home] [ Buy Now ] [ Documentation ] [ Examples & Demos ] [ Help & Support ]

Advanced Treeview Tree Menu

Documentation

In this release we have made the following methods public which means they can be accessed from external routines ie. JavaScript.

If you intend to use any of the following methods then must first name the tree applet. This is done by adding the "name" attribute to the APPLET tag, eg,

<applet name="TREEMENU" code="TreeApplet" width="250" height="300" archive="Treemenu.jar">

Addnode(String newnode)

This function will add a new node to the node list. Simply supply the new node parameter string as the argument for this function.

eg.

document.applets['TREEMENU'].Addnode('newnode|root|New Node');

 

 
Delnode(String delnodeid)

To delete a node simply supply the node id to be deleted as the argument for this function.

eg,

document.applets['TREEMENU'].Delnode('newnode');

 

 
ReloadFile(String fileurl)

This method will cause a total reload of the node data from the specified file or server side process..

eg,

document.applets['TREEMENU'].ReloadFile('newnodes.txt');

 

 

To view a demo of the above methods click here »
« back to Getting Started
[ Tree Home] [ Buy Now ] [ Documentation ] [ Examples & Demos ] [ Help & Support ]

Getting Started

Documentation

Examples

Buy Treeview Tree Menu