Custom error messages in jqgrid -


how can display custom error messages required field , other validations in jqgrid forms.

you can use attr property of searchoptions set additional attributes of input or select element used in searching toolbar.

updated: in comment explained means customize validation messages. can ovewride valuse $.jgrid.edit.msg (see grid.locale-en.js or other localization files). example can use

$.jgrid.edit.msg.required = "is missing"; 

if want make message more dynamic can use custom editrule , build error message inside of custom_func.


Comments

Popular posts from this blog

c# - how to write client side events functions for the combobox items -

exception - Python, pyPdf OCR error: pyPdf.utils.PdfReadError: EOF marker not found -