Categories | Question details Back To List | ||
DhtmlX DataProcessor I am trying to update the database using Data Processor Whenever I make changes in the treegrid it gives me a Javascript error as -- this.cell.firstChild.childNodes.1.innerHTML Log Says (debugger) -- Log: row 12 marked as updated Initiating data sending for 12 Code Snippet -- ....... .. dp = new dataProcessor("Update.jsp"); dp.enableDataNames(true); dp.setUpdateMode("row"); dp.defineAction("error",myErrorHandler); dp.setTransactionMode("POST"); dp.sendData(); dp.init(mygrid); Answer posted on Feb 27, 2009 02:53 Dataprocessor init code is correct. Problem related to the grid configuration. Which column types you are using in the grid? Similar error may occur if you are trying to access data in cell with complex content, but somehow it contains an empty value. Answer posted by Jigar on Feb 27, 2009 09:07 I have come across new error, using error console in Mozilla I figured out Answer posted by Support on Mar 03, 2009 06:53 >> C is undefined >> var i_c=i;var c=this.obj.cells(r.idd,i); Such error can occur only if you are using row with non-unique or empty IDs Unfortunately we not able to reconstruct the same problem locally. If issue still occurs for you - please provide any kind of sample where problem can be reconstructed or link to the demo page ( such info can be sent directly to support@dhtmlx.com ) |