unable to show (+/-) sign


hi,



The code u hav sent works, it shows " + " sign,but on click of tht “plus” ,it is not showing me  further hierarchy.



I think dere might b some problem wid the



===========================================



mytree.setXMLAutoLoading(edit4TreeGrid);



mytree.setXMLAutoLoadingBehaviour(“function”);



===========================================



bcz im retriving data from database not xml.



can u help me out .



thnkx


Hello,


please check that edit4TreeGrid correctly adds (or loads) a new branch. A small example:


function edit4TreeGrid(parentId){


tree.insertNewItem(parentId,itemId_1,itemText_1);





tree.insertNewItem(parentId,itemId_N,itemText_N);


}


or


function edit4TreeGrid(parentId){


tree.loadXML(path_to_server_script+"?id="+parentId);


}