Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Michael on Dec 30, 2009 08:09
open dhtmlx forum
dhtmlxTree - invalid characters for tree id-tag

Hello,

I'm using the dhtmlxTree to dynamically populate a tree to emulate 'browse for folder'. The server is generating required XML when each node is expanded. Each node holds/store the current folder path in the id tag. This works very well with at least one exception:

If the folder path has + (plus sign) in the path name, this plus sign is never sent back to the server when expanding the node.

Is this a bug or by design? Since + (plus sign) is a valid windows path i really need this to work.

Regards
Michael from Sweden


Answer posted by Alex (support) on Jan 04, 2010 04:04

Hello,

you can try use the following approach to solve the issue:

tree.setEscapingMode("utf8");

Answer posted by Michael on Jan 07, 2010 13:31
Thank,

Yes, setEscapingMode solved this issue!

Regards,
Michael