Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Swapnil Deshmukh on Dec 10, 2008 03:33
open dhtmlx forum
updateFromXML not working

I am facing problem when I update or add the row , its updated in database and I received the response in following format

response.getWriter().write("<data>");

response.getWriter().write("<action type='insert' sid='"+reqId+"' tid='"+newReqId+"'/>");

response.getWriter().write("</data>");



I used the below method to refresh updated XML but is not working and updated text in row remain bold.

………

……….

myDataProcessor.setTransactionMode("GET");

//myDataProcessor.enableDebug(true)

myDataProcessor.setOnAfterUpdate(myUpdate);

myDataProcessor.init(fmeaGrid);



function myUpdate(){

alert("ABC");

fmeaGrid.updateFromXML("XML/fmea_tree_gride.jsp?project_id="+document.getElementById("project_id").value+"&sys_id="+document.getElementById("sys_id").value);

}

Answer posted by Support on Dec 10, 2008 03:52