Categories | Question details Back To List | ||
Transaction Iam trying to save data as a transaction and iam using the follwing line of code: myDataProcessor.setTransactionMode("POST",true); I have the data processor enable debug set to true. Now say if my grid has 2 modified rows then i see that the changes for both the rows are being sent to the server in one shot and then again the dataprocessor tries to send the data of the last updated row to the server. Why is this happening?? I would like to send all the modified rows to the server only once. How can i fix this problem? Answer posted by Support on Mar 24, 2008 09:53 Most probably, problem related to server side response When you are sending few row at once to the server, component expect to receive response with <action> tag for each included row <data> <action type="update" sid="some" tid="some" /> <action type="update" sid="some" tid="some" /> <action type="update" sid="some" tid="some" /> ... </data> If some row which was sent to server doesn't have related action tag in response, it treated as missed, so its data will be sent to server with new request. |