Hallo Everyone,
I have a jqgrid, and in the page there are also several other fields, the request is to one filed has to be validated when i click on “Add” button in the jqgrid.
if the validation fails then the add modal dialog should not be displayed.
I wrote the validation function in beforeShowForm event for the “Add” button.
but I can not find any way to stop the add popup dilaog from displaying even after the validation falied.
Below is the partial code with which I have tried
.navGrid(“#pager”,
…
{closeAfterAdd: true, beforeShowForm: beforeShowFormEventForAdd, jqModal: false, width: 400, afterSubmit: afterSubmitEvent, editData: { Ext_MAC: Ext_MAC} },
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top