<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
	<title>jQuery Grid Plugin - jqGrid - Topic: Object Required error when running jqGrid function.</title>
	<link>http://www.trirand.com/blog/?page_id=393/jqgrid-roadmap/object-required-error-when-running-jqgrid-function</link>
	<description><![CDATA[Grid plugin]]></description>
	<generator>Simple:Press Version 5.7.5.3</generator>
	<atom:link href="http://www.trirand.com/blog/?page_id=393/jqgrid-roadmap/object-required-error-when-running-jqgrid-function/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on Object Required error when running jqGrid function.</title>
        	<link>http://www.trirand.com/blog/?page_id=393/jqgrid-roadmap/object-required-error-when-running-jqgrid-function#p30194</link>
        	<category>jqGrid Roadmap</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/jqgrid-roadmap/object-required-error-when-running-jqgrid-function#p30194</guid>
        	        	<description><![CDATA[<p>Hello,</p>
</p>
<p>I think you have a type in your code.</p>
<p>There error is here:</p>
<p><input type='button' class='sfcodeselect' name='sfselectit6850' value='Select Code' data-codeid='sfcode6850' /></p>
<div class='sfcode' id='sfcode6850'>
<p>...</p>
<p>colModel:</p>
<p>[</p>
<p>{ name: &#39;IntProperty&#39;, index: &#39;IntProperty&#39; },</p>
<p>{ name: &#39;StringProperty&#39;, index: &#39;StringProperty&#39; },</p>
<p>{ name: &#39;DateProperty&#39;, index: &#39;DateProperty&#39; },&#160; &#60;======= This is error</p>
<p>],</p>
<p>...</p>
</div>
<p>Replace it with this</p>
</p>
<p><input type='button' class='sfcodeselect' name='sfselectit2897' value='Select Code' data-codeid='sfcode2897' /></p>
<div class='sfcode' id='sfcode2897'>
<p>...</p>
<p>colModel:</p>
<p>[</p>
<p>{ name: &#39;IntProperty&#39;, index: &#39;IntProperty&#39; },</p>
<p>{ name: &#39;StringProperty&#39;, index: &#39;StringProperty&#39; },</p>
<p>{ name: &#39;DateProperty&#39;, index: &#39;DateProperty&#39; }</p>
<p>],</p>
<p>...</p>
</div>
<p>Regards</p>
]]></description>
        	        	<pubDate>Fri, 31 Jan 2014 11:18:55 +0200</pubDate>
        </item>
        <item>
        	<title>joeller on Object Required error when running jqGrid function.</title>
        	<link>http://www.trirand.com/blog/?page_id=393/jqgrid-roadmap/object-required-error-when-running-jqgrid-function#p30186</link>
        	<category>jqGrid Roadmap</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/jqgrid-roadmap/object-required-error-when-running-jqgrid-function#p30186</guid>
        	        	<description><![CDATA[<p>I am trying to build a jqGrid for the first time using Asp.Net MVC 4 Razor.&#160; I built a view with the "list" table and the "pager" div.</p>
<p>I then built a $(document).ready function calling the grid.&#160; I at first used the text found on various sites and finally used the text from the jqGridwiki page. On each occasion when running the app when the process hits the $(document).ready function it crashes with the error "Object Required".&#160; See code below;&#160; Can anyone see what I am doing wrong?</p>
</p>
<p>$(document).ready(</p>
<p style="padding-left: 30px;">function ()</p>
<p style="padding-left: 30px;">{</p>
<p style="padding-left: 60px;">$("#list").jqGrid(</p>
<p style="padding-left: 90px;">{</p>
<p style="padding-left: 120px;">colNames: [&#39;Int&#39;, &#39;String&#39;, &#39;Date&#39;],</p>
<p style="padding-left: 120px;">colModel:</p>
<p style="padding-left: 120px;">[</p>
<p style="padding-left: 150px;">{ name: &#39;IntProperty&#39;, index: &#39;IntProperty&#39; },</p>
<p style="padding-left: 150px;">{ name: &#39;StringProperty&#39;, index: &#39;StringProperty&#39; },</p>
<p style="padding-left: 150px;">{ name: &#39;DateProperty&#39;, index: &#39;DateProperty&#39; },</p>
<p style="padding-left: 120px;">],</p>
<p style="padding-left: 120px;">pager: "#pager",</p>
<p style="padding-left: 120px;">sortname: &#39;IntProperty&#39;,</p>
<p style="padding-left: 120px;">rowNum: 10,</p>
<p style="padding-left: 120px;">rowList: [10, 20, 50],</p>
<p style="padding-left: 120px;">sortorder: "asc",</p>
<p style="padding-left: 120px;">viewrecords: true,</p>
<p style="padding-left: 120px;">gridview: true,</p>
<p style="padding-left: 120px;">autoencode: true,</p>
<p style="padding-left: 120px;">url: "/Home/GridDemoData"</p>
<p style="padding-left: 90px;">}</p>
<p style="padding-left: 60px;">)</p>
<p style="padding-left: 30px;">}</p>
<p>);</p>
</p>
<p>Thanks in advance for getting me past this bottleneck</p>
]]></description>
        	        	<pubDate>Wed, 29 Jan 2014 21:20:23 +0200</pubDate>
        </item>
</channel>
</rss>