insert

I have 2 grids on a page and the second grid loads based on a selected row in the first grid. so i have 2 dataprocessors attatched to the first grid one for the insert,update and delete for that grid and the second one sends the data of the selected row to the server in order to load the second grid. To add a new row on to the first grid iam using the following code:



mygrid.addRow((mygrid.getRowsNum()+1),[’ ‘,’ ‘,’ ‘,’ ‘,’ ',0],-1)



The new row inserts fine on to the grid, but when the fill the row and when i try to save the data i see this



“!nativeeditor_status=”



instead of



“!nativeeditor_status=inserted”



What can be the possible reason for this strange behaviour?

I’m not sure but I think it may be caused because of using two dataProcessors on the same grid.
After any of dataprocessor sends data to server it clears the row status, so if you “selection” dataprocessor fired before “saving” one, it cleared status of row, and info about “insert” operation has been lost.