Jquery JQGrid日期选择器错误

Jquery JQGrid日期选择器错误,jquery,jqgrid,jqgrid-asp.net,Jquery,Jqgrid,Jqgrid Asp.net,我使用下面的代码显示文本字段的日期选择器。电网运行良好。单击“添加”按钮时,会出现“未定义”错误。请帮我解决这个问题 { name: 'FLD_PURCH_DATE', index: 'FLD_PURCH_DATE', width: 130, editable: true, edittype: "text", editrules: { required: true }, formoptions: { rowpos: 2, colpos: 2, elmprefix: " &

我使用下面的代码显示文本字段的日期选择器。电网运行良好。单击“添加”按钮时,会出现“未定义”错误。请帮我解决这个问题

{ name: 'FLD_PURCH_DATE', index: 'FLD_PURCH_DATE', width: 130, editable: true, edittype: "text", editrules: { required: true }, formoptions: { rowpos: 2, colpos: 2, elmprefix: "&nbsp;&nbsp;<span class='required'></span>&nbsp;" },
                            editoptions: { dataInit: function (element) { try { $(elem).datepicker(); // Error Here. } catch (ex) { alert(ex.Message);} } }

                        },
{name:'FLD_PURCH_DATE',index:'FLD_PURCH_DATE',宽度:130,可编辑:true,编辑类型:“text”,编辑规则:{required:true},表单选项:{rowpos:2,colpos:2,前缀:'},
editoptions:{dataInit:function(element){try{$(elem).datepicker();//此处出错。}catch(ex){alert(ex.Message);}}
},

如果我添加了最新的jquery url,则表示网格消失。

我使用它来使用datepicker

在我的代码中包含日期选择器:

<script src="../../jquery.ui.datepicker-pt-BR.js" type="text/javascript"></script>

“我的日期”列中的编辑选项:

editoptions:{size:20,dataInit:function(el){ $(el).datepicker({dateFormat:'dd/mm/yy'});}


jquery版本iss冲突。。检查网格支持的版本