Forum
15:59
Hi,
I have downloaded new jqGrid (3.6.2), but I' ve got this error: Object doesn't support this property or method jquery.jqGrid.min.js, line 10 character 25390
I have found that method $.jgrid.format(ts.p.pgtext||"","<input class='ui-pg-input' type='text' size='2' maxlength='7' value='0' role='textbox'/>","<span id='sp_1'></span>") is uknown.
Shouldn´t it be $.jqGrid.format ?
Thank You for any suggestion.
Jan
17:08
Moderators
08/10/2009
This typically occurs when the localization file for the grid is not loaded (defined before the grid). Here is a typical grid setup:
<head id="Head1" runat="server">
<title></title>
<!-- The jQuery UI theme that will be used by the grid -->
<link rel="stylesheet" type="text/css" media="screen" href="/themes/redmond/jquery-ui-1.7.1.custom.css" />
<!-- The jQuery UI theme extension jqGrid needs -->
<link rel="stylesheet" type="text/css" media="screen" href="/themes/ui.jqgrid.css" />
<!-- jQuery runtime minified -->
<script src="/js/jquery-1.3.2.min.js" type="text/javascript"></script>
<!-- The localization file we need, English in this case -->
<script src="/js/i18n/grid.locale-en.js" type="text/javascript"></script>
<!-- The jqGrid client-side javascript -->
<script src="/js/jquery.jqGrid.min.js" type="text/javascript"></script>
Note how the grid.locale-en.js is included before the grid script. This should address the problem.
Trirand ASP.NET WebForms & MVC components based on jQuery & ThemeRoller
Most Users Ever Online: 715
Currently Online:
73 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
OlegK: 1255
markw65: 179
kobruleht: 144
phicarre: 132
YamilBracho: 124
Renso: 118
Member Stats:
Guest Posters: 447
Members: 11373
Moderators: 2
Admins: 1
Forum Stats:
Groups: 1
Forums: 8
Topics: 10592
Posts: 31289
Newest Members:
, razia, Prankie, psky, praveen neelam, greg.valainis@pa-tech.comModerators: tony: 7721, Rumen[Trirand]: 81
Administrators: admin: 66