I have been able to work the Date Picker into JQGrid when editing inline, but I am unable to use it inside the add/edit window. Does anyone have instructions on how to do this or an example I can look at?
demo from that site of what I am trying to do: http://www.the-di-lab.com/demo/apples
I read that I could use the following method but not sure how to integrate it:
dataInit : function (elem) {
$(elem).datepicker();
}
It looks like they are using 'afterShowForm' to attach a date/color picker to a div.
(view source)
(view source)
Thanks for finding this example, I was looking for how to do this as well.
Adding datepicker is an easy task:
Of couse, instead of
.datepicker
you can use any plugin like colorpicker or autocomplete.Use this code to add datepicker to create/edit dialog: