开发者

jqGrid problem, expecting jQuery.jgrid but $.jgrid exists instead

开发者 https://www.devze.com 2022-12-27 21:11 出处:网络
I\'m using jqGrid for a JIRA plugin and have included the jquery and jqgrid libraries as web resources.

I'm using jqGrid for a JIRA plugin and have included the jquery and jqgrid libraries as web resources.

I've set up a column in jqGrid as required and when I try to submit the form with the respective column empty I get an error in firebug: jQuery.jgrid is undefined

jQuery.jgrid is null but $.jgrid has the correct data.

Does anyone know how I can set up jqgrid so that it po开发者_Go百科ints to the $.jgrid without having to change all the source code? or any other way round this?

Thanks


That is really weird. Maybe this will work:

jQuery.fn.jgrid = $.jqgrid;

You should try that, but I'm really not shure if it will work.

0

精彩评论

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

关注公众号