Regular expression as function it is working
{
type: function (ui) {
var val=ui.value;
let pt = /^(\d+(,\d+)*)?$/;
if (!(pt.test(val))) {
// alert('Not a valid value ');
ui.msg = "Not a Valid Value : " + val;
return false;
}
}
}
where as a regular expression syntax in pq grid it is not working.
{ type: 'regexp', value: '^(\d+(,\d+)*)?$', msg: 'Not in Proper format' }