<?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: Not able to pagenate rows.</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/not-able-to-pagenate-rows</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/help/not-able-to-pagenate-rows/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>OlegK on Not able to pagenate rows.</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/not-able-to-pagenate-rows#p19420</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/not-able-to-pagenate-rows#p19420</guid>
        	        	<description><![CDATA[<p>Hi Stephen!</p>
<p>Thank you for good words which you wrote. You welcome.</p>
<p>I am not a developer of jqGrid, just a user and I have no direct interest in jqGrid. I started to use jqGrid less then one year ago in a project (which is ahready ended) and know jqGrid now prity good. My current projects has nothing with web development (like the most my previous projects). Nevertheless I like jqGrid and just help other people in answering in the forum and on the stackoverflow.com site. All this I do in the pauses between the main job which bring me money.</p>
<p>So such people like me need sometime to hear that they spend his private time not for nothing and the writing of some answers really helps other.</p>
<p>Best regards<br />Oleg</p>
]]></description>
        	        	<pubDate>Tue, 31 Aug 2010 00:16:06 +0300</pubDate>
        </item>
        <item>
        	<title>scawa1952 on Not able to pagenate rows.</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/not-able-to-pagenate-rows#p19417</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/not-able-to-pagenate-rows#p19417</guid>
        	        	<description><![CDATA[</p>
<p>Thank you very much for your help.</p>
<p>Yes, this post does look VERY much like one you answered in Stack-overflow.&#160;&#160; I did not run across that one in my Google Search, but I appreciate your patience in answering it in this forum.</p>
</p>
<p>I had used the height: "100%" based upon another article or post in this forum (I have since lost the link to it.).</p>
</p>
<p>When tested your example and suggestion, initially, I got "setGridParam" is an unknown function.&#160; So, I figured there was a problem with the libraries I was using.&#160; I had downloaded the 3.8 beta version.&#160; I copied the version you so kindly modified and posted on the second link.&#160; One by one, I replaced my libraries with the ones you referenced and found the offending ones.&#160; I replaced all my libraries with 3.7.2 and got it to work.</p>
</p>
<p>I also modified my project code to add the correct libraries and your suggestions and that is also working.</p>
</p>
<p>Thank you again for your patience and help.&#160; It&#39;s guys like you that make a product like this work.</p>
</p>
<p>Stephen McConnell</p>
]]></description>
        	        	<pubDate>Mon, 30 Aug 2010 21:48:10 +0300</pubDate>
        </item>
        <item>
        	<title>OlegK on Not able to pagenate rows.</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/not-able-to-pagenate-rows#p19414</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/not-able-to-pagenate-rows#p19414</guid>
        	        	<description><![CDATA[<p>Hi Steve!</p>
<p>A simple line after the for-loop</p>
<p>$("#navgrid").setGridParam({ rowNum: 10 }).trigger("reloadGrid");</p>
<p>will makes you program working. You should change "i&#60;=mydata.length" to "i&#60;mydata.length" also. Setting and url parameter for the local data has also no sense.</p>
<p>It seems to me that you repeat the question which I answered some time ago at <a href="http://stackoverflow.com/questions/3491963/pagination-problem-in-jqgrid-with-array-data/3495210#3495210" rel="nofollow" target="_blank"><a href="http://stackoverflow.com/quest" rel="nofollow">http://stackoverflow.com/quest</a>.....10#3495210</a>.</p>
<p>By the way parameter <strong>height: "100%"</strong> is not perfect in case of pagination (see <a href="http://www.ok-soft-gmbh.com/jqGrid/scawa1952.htm" rel="nofollow" target="_blank"><a href="http://www.ok-soft-gmbh.com/jq" rel="nofollow">http://www.ok-soft-gmbh.com/jq</a>.....wa1952.htm</a> as your working examlpe).</p>
<p>Best regards<br />Oleg</p>
]]></description>
        	        	<pubDate>Mon, 30 Aug 2010 19:11:34 +0300</pubDate>
        </item>
        <item>
        	<title>scawa1952 on Not able to pagenate rows.</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/not-able-to-pagenate-rows#p19413</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/not-able-to-pagenate-rows#p19413</guid>
        	        	<description><![CDATA[<p>I figured that I needed to start from scratch on this.</p>
<p>I downloaded the 3.8 version of ALL libraries for jqGrid (to make sure I had the latest versions), and downloaded the demo examples and did an exerpt from the BASIC navagation grid demo.&#160; I loaded the data from a local source (as one can see in the JavaScript).</p>
</p>
<p>The following was what I came up with (HTML included).</p>
</p>
<blockquote>
<p>&#60;!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"&#62;<br /> &#60;html&#62;<br /> &#60;head&#62;<br /> &#60;meta http-equiv="Content-Type" content="text/html; charset=UTF-8"&#62;<br /> &#60;title&#62;RaceMonitor Test&#60;/title&#62;</p>
<p> &#160;&#160; &#160;&#160;&#160; &#160;&#60;link rel="stylesheet" type="text/css" media="screen"<br /> &#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;href="/css/ui.jqgrid.css" /&#62;<br /> &#160;&#160; &#160;&#160;&#160; &#160;&#60;link rel="stylesheet" type="text/css" media="screen" <br /> &#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;href="/css/ui.multiselect.css" /&#62;<br /> &#160;&#160; &#160;&#160;&#160; &#160;&#60;link rel="stylesheet" type="text/css" media="screen"<br /> &#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;href="/css/le-frog/jquery-ui-1.8.custom.css" /&#62;</p>
<p> &#160;&#160; &#160;&#160;&#160; &#160;&#60;script src="/js/jquery-1.4.2.js" type="text/javascript"&#62;&#60;/script&#62;<br /> &#160;&#160; &#160;&#160;&#160; &#160;&#60;script src="/js/jquery-ui-1.8.4.custom.min.js" type="text/javascript"&#62;&#60;/script&#62;<br /> &#160;&#160; &#160;&#160;&#160; &#160;&#60;script src="/js/jquery.layout-1.2.0.js" type="text/javascript"&#62;&#60;/script&#62;<br /> &#160;&#160; &#160;&#160;&#160; &#160;&#60;script src="/js/i18n/grid.locale-en.js" type="text/javascript"&#62;&#60;/script&#62;<br /> &#160;&#160; &#160;&#160;&#160; &#160;&#60;script type="text/javascript"&#62;<br /> &#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;$.jgrid.no_legacy_api = true;<br /> &#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;$.jgrid.useJSON = true;<br /> &#160;&#160; &#160;&#160;&#160; &#160;&#60;/script&#62;<br /> &#160;&#160; &#160;&#160;&#160; &#160;&#60;script src="/js/ui.multiselect.js" type="text/javascript"&#62;&#60;/script&#62;<br /> &#160;&#160; &#160;&#160;&#160; &#160;&#60;script src="/js/jquery.jqGrid.min.js" type="text/javascript"&#62;&#60;/script&#62;</p>
<p> &#160;&#160; &#160;&#160;&#160; &#160;&#60;script type="text/javascript" src="/js/grid.formedit.js"&#62;&#60;/script&#62;<br /> &#160;&#160; &#160;&#160;&#160; &#160;&#60;script type="text/javascript" src="/js/grid.common.js"&#62;&#60;/script&#62;</p>
<p> &#160;&#160; &#160;&#160;&#160; &#160;&#60;script src="/js/jquery.tablednd_0_5.js" type="text/javascript"&#62;&#60;/script&#62;<br /> &#160;&#160; &#160;&#160;&#160; &#160;&#60;script src="/js/jquery.contextmenu.js" type="text/javascript"&#62;&#60;/script&#62;<br /> &#160;&#160; &#160;&#160;&#160; &#160;<br /> &#160;&#160; &#160;&#160;&#160; &#160;&#60;script type="text/javascript"&#62;<br /> &#160;&#160; &#160;&#160;&#160; &#160;jQuery(function() {<br /> jQuery("#navgrid").jqGrid({<br /> &#160; &#160;&#160;&#160; &#160;url:&#39;editing.php?q=1&#39;,<br /> &#160;&#160; &#160;datatype: "local",<br /> &#160; &#160;&#160;&#160; &#160;colNames:[&#39;Inv No&#39;,&#39;Date&#39;, &#39;Client&#39;, &#39;Amount&#39;,&#39;Tax&#39;,&#39;Total&#39;,&#39;Closed&#39;,&#39;Ship via&#39;,&#39;Notes&#39;],<br /> &#160; &#160;&#160;&#160; &#160;colModel:[<br /> &#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;{name:&#39;id&#39;,index:&#39;id&#39;, width:55, sorttype: "int", editable:false,editoptions:{readonly:true,size:10}},<br /> &#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;{name:&#39;invdate&#39;,index:&#39;invdate&#39;, width:80,editable:true,editoptions:{size:10}},<br /> &#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;{name:&#39;name&#39;,index:&#39;name&#39;, width:90,editable:true,editoptions:{size:25}},<br /> &#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;{name:&#39;amount&#39;,index:&#39;amount&#39;, width:60, align:"right",editable:true,editoptions:{size:10}},<br /> &#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;{name:&#39;tax&#39;,index:&#39;tax&#39;, width:60, align:"right",editable:true,editoptions:{size:10}},&#160;&#160; &#160;&#160;&#160; &#160;<br /> &#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;{name:&#39;total&#39;,index:&#39;total&#39;, width:60,align:"right",editable:true,editoptions:{size:10}},<br /> &#160;&#160; &#160;&#160;&#160; &#160;{name:&#39;closed&#39;,index:&#39;closed&#39;,width:55,align:&#39;center&#39;,editable:true,edittype:"checkbox",editoptions:{value:"Yes:No"}},<br /> &#160;&#160; &#160;&#160;&#160; &#160;{name:&#39;ship_via&#39;,index:&#39;ship_via&#39;,width:70, editable: true,edittype:"select",editoptions:{value:"FE:FedEx;TN:TNT"}},<br /> &#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;{name:&#39;note&#39;,index:&#39;note&#39;, width:100,  sortable:false,editable: true,edittype:"textarea",  editoptions:{rows:"2",cols:"20"}}&#160;&#160; &#160;&#160;&#160; &#160;<br /> &#160; &#160;&#160;&#160; &#160;],<br /> &#160; &#160;&#160;&#160; &#160;rowNum:10,<br /> &#160; &#160;&#160;&#160; &#160;rowList:[10,20,30],<br /> &#160; &#160;&#160;&#160; &#160;pager: &#39;#pagernav&#39;,<br /> &#160; &#160;&#160;&#160; &#160;sortname: &#39;id&#39;,<br /> &#160;&#160;&#160; viewrecords: true,<br /> &#160;&#160;&#160; sortorder: "desc",<br /> &#160;&#160;&#160; caption:"Navigator Example",<br /> &#160;&#160; &#160;height: "100%"<br /> });<br /> jQuery("#navgrid").jqGrid(&#39;navGrid&#39;,&#39;#pagernav&#39;, <br /> {}, //options<br /> {height:280,reloadAfterSubmit:false}, // edit options<br /> {height:280,reloadAfterSubmit:false}, // add options<br /> {reloadAfterSubmit:false}, // del options<br /> {} // search options<br /> );</p>
<p> var mydata = [<br /> &#160;&#160; &#160;&#160;&#160; &#160;{id:"1",invdate:"2007-10-01",name:"test",note:"note",amount:"200.00",tax:"10.00",total:"210.00"},<br /> &#160;&#160; &#160;&#160;&#160; &#160;{id:"2",invdate:"2007-10-02",name:"test2",note:"note2",amount:"300.00",tax:"20.00",total:"320.00"},<br /> &#160;&#160; &#160;&#160;&#160; &#160;{id:"3",invdate:"2007-09-01",name:"test3",note:"note3",amount:"400.00",tax:"30.00",total:"430.00"},<br /> &#160;&#160; &#160;&#160;&#160; &#160;{id:"4",invdate:"2007-10-04",name:"test4",note:"note4",amount:"200.00",tax:"10.00",total:"210.00"},<br /> &#160;&#160; &#160;&#160;&#160; &#160;{id:"5",invdate:"2007-10-05",name:"test5",note:"note5",amount:"300.00",tax:"20.00",total:"320.00"},<br /> &#160;&#160; &#160;&#160;&#160; &#160;{id:"6",invdate:"2007-09-06",name:"test6",note:"note6",amount:"400.00",tax:"30.00",total:"430.00"},<br /> &#160;&#160; &#160;&#160;&#160; &#160;{id:"7",invdate:"2007-10-04",name:"test7",note:"note7",amount:"200.00",tax:"10.00",total:"210.00"},<br /> &#160;&#160; &#160;&#160;&#160; &#160;{id:"8",invdate:"2007-10-03",name:"test8",note:"note8",amount:"300.00",tax:"20.00",total:"320.00"},<br /> &#160;&#160; &#160;&#160;&#160; &#160;{id:"9",invdate:"2007-09-01",name:"test9",note:"note9",amount:"400.00",tax:"30.00",total:"430.00"},<br /> &#160;&#160; &#160;&#160;&#160; &#160;{id:"10",invdate:"2007-09-08",name:"test10",note:"note10",amount:"500.00",tax:"30.00",total:"530.00"},&#160;&#160; &#160;&#160;&#160; &#160;<br /> &#160;&#160; &#160;&#160;&#160; &#160;{id:"11",invdate:"2007-09-08",name:"test11",note:"note11",amount:"500.00",tax:"30.00",total:"530.00"},<br /> &#160;&#160; &#160;&#160;&#160; &#160;{id:"12",invdate:"2007-09-10",name:"test11",note:"note12",amount:"500.00",tax:"30.00",total:"530.00"}&#160;&#160; &#160;<br /> &#160;&#160; &#160;&#160;&#160; &#160;];<br /> &#160;&#160; &#160;&#160;&#160; &#160;<br /> &#160;&#160; &#160;&#160;&#160; &#160;<br /> $("#navgrid").jqGrid(&#39;clearGridData&#39;); &#160;&#160;&#160; &#160;&#160;&#160; &#160;<br /> for(var i=0;i&#60;=mydata.length;i++)<br /> &#160;&#160; &#160;jQuery("#navgrid").jqGrid(&#39;addRowData&#39;,i+1,mydata[i]);</p>
<p> });<br /> &#160;&#160; &#160;&#160;&#160; &#160;&#60;/script&#62;<br /> &#60;/head&#62;<br /> &#60;body&#62;<br /> &#160;&#160; &#160;&#60;table id="navgrid"&#62;&#60;/table&#62;<br /> &#160;&#160; &#160;&#60;div id="pagernav"&#62;&#60;/div&#62;<br /> &#60;/body&#62;<br /> &#60;/html&#62;</p>
</blockquote>
<p>I am STILL not able to pagenate and STILL getting the weird view of&#160;&#160; "View -9 - 2 of 12"</p>
</p>
<p>When I select a row and then try to edit it, the Popup occurs in the "Header" of the grid and expands the header of the grid.&#160;</p>
</p>
<p>Also, how does one adjust the size of the popup edit box?</p>
</p>
<p>Thank you for your help in advance.</p>
</p>
<p>Steve</p></p>
]]></description>
        	        	<pubDate>Mon, 30 Aug 2010 18:33:06 +0300</pubDate>
        </item>
        <item>
        	<title>scawa1952 on Not able to pagenate rows.</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/not-able-to-pagenate-rows#p19349</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/not-able-to-pagenate-rows#p19349</guid>
        	        	<description><![CDATA[<p>Thanks for your reply.</p>
<p>I forgot to include the:</p>
</p>
<p>&#160;&#160;&#160; $("#eventList").jqGrid(&#39;navGrid&#39;, &#39;#eventListPgr&#39;, {add: false, edit: false, del:false});</p>
</p>
<p>but it is in there..&#160; sorry.</p>
</p>
<p>As for problem #2.&#160; I found some interesting things in that....&#160; When I re-sort the grid based upon one of the column headiings, the View comes out:</p>
<p>View 1 - 106 of 106</p>
</p>
<p>Which libraries SHOULD I load and where should I get them.&#160; I noticed a post in this forum describing the previous problem and they said the bug had been fixed.&#160; So, I loaded the latest and greatest library versions (as linked to on the site), installed them and am still getting the problem.</p>
</p>
<p>Thanks again for the help.</p>
</p>
<p>Stephen McCOnnell</p></p>
]]></description>
        	        	<pubDate>Thu, 26 Aug 2010 23:41:13 +0300</pubDate>
        </item>
        <item>
        	<title>jayrmotta on Not able to pagenate rows.</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/not-able-to-pagenate-rows#p19341</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/not-able-to-pagenate-rows#p19341</guid>
        	        	<description><![CDATA[<p>Hi,</p>
</p>
<p>I think you must have something like this:</p>
</p>
<p>jQuery("#eventList").jqGrid(&#39;navGrid&#39;,&#39;#eventListPgr&#39;,{add:false,edit:false,del:false});</p>
</p>
<p>And about the method doesn&#39;t work, maybe when you&#39;re downloading you miss some library that can contain this function or something like that, it really don&#39;t make sense doesn&#39;t work.</p>
</p>
<p>Cya! <img class="spSmiley" style="margin:0" title="Cool" src="/blog/wp-content/forum-smileys/sf-cool.gif" alt="Cool" /></p>
]]></description>
        	        	<pubDate>Thu, 26 Aug 2010 22:17:02 +0300</pubDate>
        </item>
        <item>
        	<title>scawa1952 on Not able to pagenate rows.</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/not-able-to-pagenate-rows#p19338</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/not-able-to-pagenate-rows#p19338</guid>
        	        	<description><![CDATA[<p>I am new to jqGrid but am finding it powerful.&#160; However, there are two problems I am having.</p>
</p>
<p>1)&#160; I cannot get the "pagenate" feature to work.</p>
<p>2)&#160; The &#39;clearGridData&#39; API is not functioning correctly.</p>
</p>
<p>Problem #1</p>
<p>I am defining the table in the following way:</p>
<p>&#160;&#160;&#160; $("#eventList").jqGrid({<br />&#160;&#160; &#160;&#160;&#160; &#160;datatype:"local",<br />&#160;&#160; &#160;&#160;&#160; &#160;repeatitems: false,<br />&#160;&#160; &#160;&#160;&#160; &#160;colNames:[&#39;&#39;, &#39;Event Num&#39;, &#39;Race Num&#39;, &#39;Event Id&#39;, &#39;Type&#39;, &#39;Num&#39;, &#39;Location&#39;, &#39;Title&#39;],<br />&#160;&#160; &#160;&#160;&#160; &#160;colModel:[<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160;&#160; {name: &#39;sel&#39; , index: &#39;sel&#39;, width: 50, align: &#39;center&#39; },<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;{name: &#39;eventNumber&#39;, index:&#39;eventNumber&#39;, width: 100, align: &#39;right&#39;},<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;{name: &#39;raceNumber&#39;, index: &#39;raceNumber&#39;, width: 100, align: &#39;right&#39;},<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;{name: &#39;nascarEventId&#39;, index: &#39;nascarEventId&#39;, width: 100, align: &#39;right&#39;},<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;{name: &#39;type&#39;, index: &#39;type&#39;, width: 75, align: &#39;center&#39;},<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;{name: &#39;number&#39;, index: &#39;number&#39;, width: 50, align: &#39;center&#39; },<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;{name: &#39;location&#39;, index: &#39;location&#39;, width: 200},<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;{name: &#39;title&#39;, index: &#39;title&#39;, width: 300}<br />&#160;&#160; &#160;&#160;&#160; &#160;<br />&#160;&#160; &#160;&#160;&#160; &#160;],<br />&#160;&#160; &#160;&#160;&#160; &#160;multiselect: false,<br />&#160;&#160; &#160;&#160;&#160; &#160;rowNum:10,<br />&#160;&#160; &#160;&#160;&#160; &#160;rowList:[10,20,30],<br />&#160;&#160; &#160;&#160;&#160; &#160;pager: &#39;#eventListPgr&#39;,<br />&#160;&#160; &#160;&#160;&#160; &#160;viewrecords: true,<br />&#160;&#160; &#160;&#160;&#160; &#160;caption: "Event List",<br />&#160;&#160; &#160;&#160;&#160; &#160;height: "100%"<br />&#160;&#160; &#160;});</p>
</p>
<p>Here is the HTML I am using to define the table:</p>
</p>
<p>&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160;&#160; &#60;div&#62;<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#60;table id="eventList"&#62;&#60;/table&#62;<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#60;div id="eventListPgr"&#62;&#60;/div&#62;<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#60;/div&#62;</p>
</p>
<p>And here are the functions I am using to load the table:</p>
</p>
<p>function getEventList(form) {<br />&#160;&#160; &#160;currentSeriesId = $(&#39;#selectEventListSeriesId :selected&#39;).val();</p>
<p>&#160;&#160; &#160;$.getJSON(&#39;/racemonitor?cmd=getEventList&#38;seriesId=&#39; + currentSeriesId + "&#38;year=" + currentYear,<br />&#160;&#160; &#160;&#160;&#160; &#160;function(data){ <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; putEventList(data);&#160; });<br />}</p>
</p>
<p>function putEventList(data) {<br />&#160;&#160; &#160;var eventListArr = data.eventList;<br />&#160;&#160; &#160;<br />&#160;&#160; &#160;var mydata = new Array();<br />&#160;&#160; &#160;<br />&#160;&#160; &#160;for(var i = 0; i &#60; eventListArr.length; i++) {<br />&#160;&#160; &#160;&#160;&#160; &#160;mydata[i] = [ <br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {sel: &#39;&#60;input type="radio" name="selectEvent" value="&#39; + eventListArr[i].eventId + onclick="getEventInfo(this)"&#62;&#39;,<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; eventNumber: eventListArr[i].eventNumber, <br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; raceNumber: eventListArr[i].nascarRaceNumber,<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; nascarEventId: eventListArr[i].nascarEventId,<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; type: eventListArr[i].type,<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; number: eventListArr[i].number,<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; location: eventListArr[i].location, <br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; title: eventListArr[i].title}<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; ]; <br />&#160;&#160;&#160;&#160; }<br />&#160;&#160;&#160;&#160; <br />&#160;&#160;&#160; $("#eventList").jqGrid(&#39;clearGridData&#39;);&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#160;<br />&#160;&#160;&#160; for(var i=0;i&#60;=mydata.length;i++)<br />&#160;&#160; &#160;&#160;&#160; &#160;$("#eventList").jqGrid(&#39;addRowData&#39;,i+1,mydata[i]); <br />&#160;&#160;&#160; }<br />}</p>
</p>
<p>The function load all the data into the Grid, however there is no limiting of the number of rows displayed to 10 as defined in the table definition.</p>
</p>
<p>PROBLEM # 2</p>
<p>I load 106 records.&#160; Cool so far.&#160; BUT the pager at the bottom says:</p>
<p>"View -9 - 96 of 106 records"</p>
<p>I don&#39;t know if the two problems are related.&#160;&#160; Any help would be appreciated.</p>
</p>
<p>Stephen McConnell</p></p>
]]></description>
        	        	<pubDate>Thu, 26 Aug 2010 17:05:04 +0300</pubDate>
        </item>
</channel>
</rss>