Little problem with dataprocessor for cancel deleted status

Hello,

I’m kinda newbie using the grid, I’ve tried that two lines on my test page and it worked fine in client side, but when I submit the grid, the row still shows as deleted, how can I do for get it as updated instead?

Here is part of my dp and grid init:

        mygrid = dhtmlXGridFromTable(“tblNotas”);
        mygrid.submitOnlyChanged(false);//I need to get all values
        mygrid.attachEvent(“onRowSelect”,doOnRowSelected);

        dp = new dataProcessor(‘somePage.php’);    

        function doOnRowSelected(rowID,celInd){
    
          switch(celInd){
             case 0:
               mygrid.deleteRow(rowID);//Delete row when first column is clicked        
             break;
             default://
                dp.setUpdated(rowID,false);
                mygrid.setUserData(rowID,"!nativeeditor_status","");
            
          }//end switch
        }//end function

        dp.setUpdateMode(“off”);
        dp.setTransactionMode(“POST”,true);
        dp.init(mygrid);

Thnx

but when I submit the grid
How are you submitting grid? Do you use form integration extension?
Please try to switch dataProcessor’s debug mode. In such case you will be able to check what request send to your server side. Please find more information here dhtmlx.com/dhxdocs/doku.php?id=d … debug_mode

Hi again,

Thanks for replying, I’ll give it a try and let you guys know.