Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Joe on Dec 11, 2008 15:52
open dhtmlx forum
adding an item to dhtmlxFolders

After I've already created a dhtmlxFolders object and loaded it via an XML string, how can I add a new item to it programatically? Can I just give it a new XML string with just one item in it and have it append to it's list of items?
Answer posted by Support on Dec 12, 2008 02:27
Yes , you can use loadXML or loadXMLString for such operation - additional data will be added to the end of current item-set.
Also , you can add item from js code by folder.addItem method