It is work perfectly, until I get a case.
I used FormEdit to edit my data in the grid and submit a new Data. However, when the data posted and then something happen and my DB server sent error status, I want my data that already updated by user in the Form Editor does not copy into the Grid. In other words, I do not want my data in the grid also updated, if my server sent any errors because the data that posted previously.
I tried to return [false,’error message’] using afterSubmit function like:
afterSubmit: function(r,d) {
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top