JqGrid validates data before saving, when pessing enter confirmation key before esc

I am trying to use inline editing in the grid, the save / change / cancel / delete buttons are normal, I have several validation functions for each column that need to be called before saving, I create a function that will cause enter to be pressed on the row, however I don’t I can, maybe I can not stop it from saving, even if I return false on successfunc.

$grid.editRow(id,{
    keys : true,
    successfunc : function(data){
        saveData(data);
        return [false,""];       
    }
});

PS: editrules defined in each column will not help me because I want my checks to be called only when saving

0
source share
1 answer

I think you are a little late in your check in this case.

: http://www.trirand.com/jqgridwiki/doku.php?id=wiki:inline_editing

succesfunc: , . , . ; true false.

, ?

+1

Source: https://habr.com/ru/post/1614305/