Friday, 23 August 2013

Invalid Date is entered for search

Invalid Date is entered for search

I have a searchable column in jqgrid that is a date field. It currently
displays a message for invalid character if I enter an invalid date and
start the search. I would prefer to have a message that is better formed
for the event like "Invalid date entered".
{ name: 'BDate', index: 'BDate', width: 70, align: 'right', sortable:
true, search: true, formatter: 'date', editrules: { date: true} },
How would I do this?

No comments:

Post a Comment