Get cell_id and data instead of row_id and data

When using the data processor with the grid it is my understanding that sends the row_id and then all of the values in each column for the row. Is there a way for it to just send the cell id, that could be included in the xml file, and the data instead?



Thanks,



Mat

There is no support for such functionality.
Instead of using dataprocessor, you can have custom onEditCell handler code attached to grid, which will send data to server with necessary params.

If my XML looked something like this:

<?xml version="1.0"?>


Name
P
I
A
C
Citizenship
%
Grade
AR-4/1
C-4/3
C-#1
C-4/7
C-#2

8




    John Doe 1
    P
    I
    A
    C
    CIT
    86.40
    B
    <cell id=“382584” type=“ed”>10
    <cell id=“382659” type=“ed”>10
    <cell id=“382823” type=“ed”>7
    <cell id=“383043” type=“ed”>9
    <cell id=“383134” type=“ed”>8
   


    John Doe 2
    P
    I
    A
    C
    CIT
    83.40
    B
    <cell id=“382593” type=“ed”>10
    <cell id=“382668” type=“ed”>10
    <cell id=“382832” type=“ed”>8
    <cell id=“383052” type=“ed”>9
    <cell id=“383143” type=“ed”>9


                   
How would you suggest I get the id number in the cell field?  Thanks for you time.
                   

How would you suggest I get the id number in the cell field?
The next can be used to save values of changed cells

grid.attachEvent(“onEditCell”,function(stage,id,ind,value){
    if (stage==2){
         // after cell edit end
        var cell=grid.cells(id,ind);
        var cell_id = cell.getAttribute(“id”);
        if (cell_id){
             //if cell id defined - call server side script
             (new dtmlXMLLoaderObject()).loadXML(“some.php?cellid=”+cell_id+"&value="+encodeURIComponent(value));
        }
    }
    return true;
});

Thanks,

Mat