Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted on Feb 21, 2007 16:54
open dhtmlx forum
Is there a possible way where we can get the output from the tree as an XML string where only the root, 'che...

Is there a possible way where we can get the output from the tree as an XML string where only the root, 'checked parent(s)' and 'checked children' are returned. Now as we use
    tree.setSerializationLevel(true, true);
   var myXmlStr = tree.serializeTree();
it dumps the whole tree as an xml which we don't want.
Answer posted on Feb 21, 2007 16:54

The current version 1.3 of tree doesn't support such feature. You can serialize all tree and then separate checked item, by related attribute of xml tags.

Answer posted by Alexandra (Support) on Dec 02, 2014 22:36

Not much can be said in addition to the reply above, but you also can check combobox autocompletesource and web calendar javascript and find out what we have probably missed in our explanation.