Hi,
could someone help me. I’m trying to attach event on each update of xml tree but can’t find any.
I want to run special actions whenever any change (delete , change , add) is made on tree.
We have full licence I thought it’s going to help but can’t see anything.
I would also like an answer to this question,the DataProcessor does not provide the desired functionality. I would like to output the entire serialized tree as an XML object, and send it back to the server for processing. We have a professional license, please advise.
function sendAllItems(){
var items = tree.getAllSubItems(0);
items = items.split(",");
for(var i=0; i< items.length; i++)
dp.setUpdated(items[i],true);
dp.sendData();
}[/code]
I want to run special actions whenever any change (delete , change , add) is made on tree.
delete and add operation can be initiated by calling corresponding method (deleteItem or insertNewItem ). So, you may call the necessary functionality right after these methods.