Help with DataProcessor updates

I am just trying to get a simple prototype working that updates my database. The population of the grid works fine. When I update a cell in the grid, the cell text becomes bold and stays that way as I go to different cells, but no update is made. Thanks for any help you can give.

Here is my code:

    grid = dhxTabbar.cells("t3").attachGrid();
    grid.setImagePath("../../../dhtmlxGrid/codebase/imgs/");
    grid.setHeader("CertID, CertName, CertNum, CertType,Status");
    grid.setColTypes("ed,ed,ed,ed");
    grid.init();
    grid.enableSmartRendering(true);
    grid.load("analyte_connector.php");        
    
    dp = new dataProcessor("analyte_connector.php");
    dp.init(grid);  

<?php require_once("../../../dhtmlxConnector_php/codebase/grid_connector.php"); $res=mysql_connect("localhost","",""); mysql_select_db("sampleDB"); $grid = new GridConnector($res); $grid->dynamic_loading(100); $grid->render_table("tbl_Analyte","NelacAnalyteID","NelacAnalyteID,AltAnalyteName,NELACAnalyteName,AnalyteCas"); ?>

Using the debug js file, I see this after updating cell:

Log:
row 1015 marked [updated,valid]
Initiating data sending for 1015

But the code causes this error, and no update is made:

Error: c is undefined
Source File: localhost:32946/dhtmlxGrid/codeb … mlxgrid.js
Line: 958


This is the code at line 958:

data[“c”+i_c]=c.getValue();};var udata=this.obj.UserData[rowId];if (udata){for (var j=0;j<udata.keys.length;j++)if (udata.keys[j].indexOf(“__”)!=0)

You have the error in grid’s configuration

grid.setHeader(“CertID, CertName, CertNum, CertType,Status”);
grid.setColTypes(“ed,ed,ed,ed”);

setHeader has 5 parameters, but setColTypes has only 4

Thanks for catching that…

After making the change, I now get a dialog box with this:

<?xml version='1.0' encoding='UTF-8' ?><cell......

Click the OK button, and nothing is updated.

Is this an error, or a sign that I’m missing a step somewhere?

Thank you.

It means the server side provides an invalid xml.
In case of connectors - the only problem which can lead to such error - some output before connectors init. Be sure that you don’t output any text during connector’s init ( event few whitespaces outside of <?php tag can result in such problem )

Boa noite.

Eu estou com o mesmo problema, o XML, retornado não é aceito pelo grid, e a alteração que solicitei em um registro não é executado…