| actionBegin:function(args){ if(args.requestType =="save"){ args.data["CustomerID"] = "it will not disappear"; } }, |
| |
| |
Hi again.
Maybe I didn't explain well, let me try again, please.
I need empty the "args.data" variable (args.data = {};), after that, I would like to save again the information inserted by the user, and overwrite the value "it will not disappear" in the key "args.data.CustomerID" ( args.dataCustmerID = "it will not desappear"; ).
Once it saves, the "ejGrid" component shows the value "it will not disappear". However if I edit this row, the CustomerID field shows what the user inserted, it must show the value "it will not disappear".
Here I let you a sample in order to have a better understanding of this situation.
http://jsplayground.syncfusion.com/lpirshz5
I will be awaiting for your reply, thanks again.
Regards, Luis.