2
几天后,我一直在玩jqgrid.I一直试图完成在此示例http://www.the-di-lab.com/demo/apples上发现的一个日期选择器在模态窗体上。jqgrid日期选择器问题
到目前为止,我试图按照在link上发现的内容进行操作,但在我的ui.datepicker.js脚本中出现target.getAttribute is not a function
错误。
任何成功完成它的人?
几天后,我一直在玩jqgrid.I一直试图完成在此示例http://www.the-di-lab.com/demo/apples上发现的一个日期选择器在模态窗体上。jqgrid日期选择器问题
到目前为止,我试图按照在link上发现的内容进行操作,但在我的ui.datepicker.js脚本中出现target.getAttribute is not a function
错误。
任何成功完成它的人?
不知道你或其他人是否仍在寻求答案。 我刚通过使用editoptions在列定义,像这样实现的:
... ,editoptions:{dataInit:datepicker}
其中日期选择器就像是
function datepicker (elem) {
jQuery(elem).datepicker(
// {} // options here
);
};
的函数