{"id":572,"date":"2022-08-30T15:03:35","date_gmt":"2022-08-30T15:03:35","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2013\/11\/09\/undefined-message-in-jqgrid-b-jgrid-formatter-is-undefined-collection-of-common-programming-errors\/"},"modified":"2022-08-30T15:03:35","modified_gmt":"2022-08-30T15:03:35","slug":"undefined-message-in-jqgrid-b-jgrid-formatter-is-undefined-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2022\/08\/30\/undefined-message-in-jqgrid-b-jgrid-formatter-is-undefined-collection-of-common-programming-errors\/","title":{"rendered":"&ldquo;Undefined&rdquo; message in jqgrid, &ldquo;b.jgrid.formatter is undefined&rdquo;-Collection of common programming errors"},"content":{"rendered":"<ul>\n<li>These are javascripts I&#8217;m using:\n<pre>jquery.validate.min.js\njquery.validate.unobtrusive.min.js\njquery-1.5.1.min.js\njquery-ui-1.8.11.min.js\njquery.jqGrid.min.js\nui\/jquery.ui.core.js\nui\/jquery.ui.widget.js\nui\/jquery.ui.datepicker.js<\/pre>\n<\/li>\n<li>My javascript source:\n<pre>\nvar grid = jQuery(\"#list\").jqGrid({\n            datatype: 'json',\n\n            caption: 'Transaction Log',\n            hiddengrid: 'true',\n            postData: {\n                companyId: function () { return $(\"#SelectedCompany\").val(); },\n                userId: function () { return $(\"#SelectedUser\").val(); },\n                dateFromString: function () { return $(\"#DateFrom\").val(); },\n                dateToString: function () { return $(\"#DateTo\").val(); }\n            },\n            url: '@Url.Action(\"GetTransactionLogData\")',\n            mtype: 'GET',\n            colNames: ['Ref.', 'TradeDate', 'Status', 'LegalEntity', ...],\n            colModel: [\n                { name: 'Reference', index: 'Reference', width: '60' },\n                { name: 'TradeDate', index: 'TradeDate', width: '70' },\n                { name: 'Status', index: 'Status', width: '50' },\n                { name: 'LegalEntity', index: 'LegalEntity', width: '80' },\n                ...\n            ],\n            pager: $('#pager'),\n            rowNum: 10,\n            height: '100%'\n\n        });\n<\/pre>\n<\/li>\n<\/ul>\n<p id=\"rop\"><small>Originally posted 2013-11-09 21:02:31. <\/small><\/p>","protected":false},"excerpt":{"rendered":"<p>These are javascripts I&#8217;m using: jquery.validate.min.js jquery.validate.unobtrusive.min.js jquery-1.5.1.min.js jquery-ui-1.8.11.min.js jquery.jqGrid.min.js ui\/jquery.ui.core.js ui\/jquery.ui.widget.js ui\/jquery.ui.datepicker.js My javascript source: var grid = jQuery(&#8220;#list&#8221;).jqGrid({ datatype: &#8216;json&#8217;, caption: &#8216;Transaction Log&#8217;, hiddengrid: &#8216;true&#8217;, postData: { companyId: function () { return $(&#8220;#SelectedCompany&#8221;).val(); }, userId: function () { return $(&#8220;#SelectedUser&#8221;).val(); }, dateFromString: function () { return $(&#8220;#DateFrom&#8221;).val(); }, dateToString: function () { return [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-572","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/572","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=572"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/572\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=572"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=572"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=572"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}