Hi I\'m using jqGrid and I\'m wondering, how do I add jQueryUI\'s datepicker to some of the input fields when in the add row dialog?
Also how do I check if the input ent
To get the datepicker in the create/edit popup , you need to add this lines to the updateDialog or to the addDialog:
afterShowForm: function (formId) {
$("#CreationDate").datepicker();
}
If you want to format it, you can set format option in datepicker()..like:
afterShowForm: function (formId) { $("#CreationDate").datepicker({
dateFormat: "dd/M/yy"});}