Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by pyt on Aug 18, 2008 09:27
open dhtmlx forum
Update problem

Hi,
i'm trying to use dataprocessor, but i have a problem with update; when i edit a cell and press enter, i receive this error:
"cell is undefined". This is my codes:
..
mygrid.init();
mygrid.loadXML("xml_feed.jsp?action=get_data");
myDataProcessor = new dataProcessor("xml_feed.jsp?action=update");
myDataProcessor.setUpdateMode("cell");
myDataProcessor.setTransactionMode("GET");
myDataProcessor.enableDebug(true);
myDataProcessor.init(mygrid);
..

Your help would be very much appreciated.

Thank you!
pyt
Answer posted by Support on Aug 19, 2008 01:48
The problem may be caused by

a) missed or incorrect column types, please be sure that setColTypes command use valid cell values
b) non unique row IDs
c) incorrect server side response ( incorrect sid|tid values )

If problem still occurs for you - please contact us directly at support@dhtmlx.com - we may provide special edition of dataprocessor with extensive loging, which may be helpful to locate reason of the problem.