Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Ankit on Aug 10, 2009 03:53
open dhtmlx forum
calling javascript wouldn't work

hi , As you tell me i do .i want 2 call a javascript function from a link
i call

mygrid.setColTypes("link,ed");
& in xml for first cell data i put

<cell>Click here^javascript:doSome()^_self</cell>
 
It loads grid properly & also showing me link , but when i click on link , it gives  error saying incorrect xml.
 
Previously my xml was wrking fine ,I just added     "^_self"  in cell value.
Iam loading my xml using              ------------------------------- "mygrid . loadXMLString()". & string is generated from java class.
Answer posted by Support on Aug 11, 2009 10:16
>>,I just added "^_self" in cell value.
Such modification must not introduce any problems. It doesn't contain any special XML characters 
Can you please provide an actual xml string , which causes an error in your case ( you can send such data directly to support@dhtmlx.com