开发者

jqGrid "Loading..." overlay showing "undefined" though grid is working

I have a jqGrid that's working 100% except that it keeps displaying 开发者_JS百科"undefined" in the "Loading..." overlay. I can't really figure it out. It seems like I should only get the "undefined" message if something isn't set right and the grid would cease to work. But that's not the case. scratches head

I'm not really sure a code sample would help here, but if anyone would like to see a certain part of my code let me know and I'll included.

Has anyone else come across this issue before? I'm probably missing something so simple and small that I can't see it. So my apologies in advance if this is a no-brainer

Thanks for your help.


That text comes from $.jgrid.defaults.loadtext. So either:

  1. You have an old grid.locale-en.js which doesn't specify it, or
  2. You overwrite it somewhere.


In addition, I've found that the <script> tag that defines grid.locale-whatever must appear before the <script> tag that loads jqgrid.

Doesn't make sense to me.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜