free-jqgrid / jqGrid

jQuery grid plugin
https://github.com/free-jqgrid/jqGrid
Other
478 stars 196 forks source link

Jqgrid on ADD error no clear all fields #470

Open Ant02 opened 5 years ago

Ant02 commented 5 years ago

Hi, I'm currently using jqGrid 4.14.0, and I have a question related to the ADD functionality. Currently I have extend the standard Add functionality in order to call a server side validation $.extend($.jgrid.edit, MyCustomFunction());

My issue is that when I get any validation error I'm not able to keep the current values inputted, jqgrid is always clearing all fields. there is any option that I can set up in order to avoid this clear and keep the current values inputted?

antoineluong commented 5 years ago

Could you provide some client-side code with JSFiddle (or other) to demonstrate the problem?