don't understand how it's work

I have follow this tutorial http://docs.dhtmlx.com/tutorials__dhtmlxgrid_server__step4.html

I am using codeigniter framework, this is my doOnLoad

function doOnLoad(){ mygrid = new dhtmlXGridObject('gridbox'); mygrid.setHeader("job_id,job_type,job,dependency,center,title,owner,status,planned_start,planned_end,host_status,post_check,task,comments,expected_alarm"); mygrid.setInitWidths("50,50,50,50,70,100,100,70,150,150,50,100,100,100,100"); mygrid.init(); mygrid.load("./grid_data"); dp = new dataProcessor("./grid_data"); dp.setTransactionMode("POST",true); dp.action_param = "dhx_editor_status"; dp.init(mygrid); }
for removeRow it’s can remove from database,

function removeSelectedRow(){ var selId = mygrid.getSelectedId(); mygrid.deleteRow(selId); }
but for addRow it’s cannot add to the database.

function newRow(){ var newID = (new Date()).valueOf(); mygrid.addRow(newID,[newID,"","","","","Job Entry","","","","","","","","",""], mygrid.getRowsNum()); mygrid.selectRowById(newID); }

so, I wonder where did I wrong and how it’s work even we didn’t call a model to add or delete data from database.

Please, try to remove the following line from your code:
dp.action_param = “dhx_editor_status”;