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:
- You have an old
grid.locale-en.js
which doesn't specify it, or - 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.
精彩评论