开发者

jqgrid date picker problem

For a couple of days now I have been playing around with the jqgrid.I h开发者_JAVA技巧ave been trying to accomplish what is found on this example http://www.the-di-lab.com/demo/apples that is placing a date picker on the modal form.

So far I have tried to follow what I found on this link but I get a target.getAttribute is not a function error in my ui.datepicker.js script.

Anyone who has done it succesfully?


Don't know if you or someone else is still seeking for an answer. I just realized this by using the editoptions in column definition, like so:

 ... ,editoptions:{dataInit:datepicker}

where datepicker is a function like

 function datepicker (elem) {
  jQuery(elem).datepicker(
      // {} // options here
  );
 };
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜