Hi All,
I need to validate a field from database to make sure it is not exist.
I've tried using editrules custom and create AJAX function to validate.
Here is my code :
colModel :
{name:'serialNo', key:true, index:'serialNo', editable:true, editrules:{required:true,custom:true,custom_func:check_serialNo}, width:88, align:"center"}
AJAX function :
function check_serialNo( value, colname ) {
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top