<?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: Pagination Button Disabled</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/pagination-button-disabled</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/pagination-button-disabled/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>alifaisal01 on Pagination Button Disabled</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/pagination-button-disabled#p24946</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/pagination-button-disabled#p24946</guid>
        	        	<description><![CDATA[</p>
<p>Hi Guys,</p>
</p>
<p>I am using the latest version of JQuery and having some issues with the paging after the grid is loaded. I am using JSON and loadonce: true. I have about 70 rows of data and page size 20. so I should have 4 pages. when the grid loads its showing current page as "0&#8243; while it should be one. and all the paging buttons (first, pre, next, last) are disabled they get enabled if I refresh the grid in which case it re-loads the data or if I click on either first or previous buttons.&#160;</p>
</p>
<p>Can anyone please help me figure out what might be causing this issue? I have the code attached.</p>
</p>
<p><input type='button' class='sfcodeselect' name='sfselectit4405' value='Select Code' data-codeid='sfcode4405' /></p>
<div class='sfcode' id='sfcode4405'>
<p>&#160; &#160; &#160;jQuery(&#34;#schTable&#34;).jqGrid(&#39;navGrid&#39;,&#39;#schTablePager&#39;,{edit:false,add:false,del:false});&#160; &#160; &#160;});&#160; &#160; &#160;	 &#160;editurl : &#39;/local/Sch/post&#39;&#160; &#160; &#160;	 &#160;loadonce: true,&#160; &#160; &#160;	 &#160; &#160;height: &#39;100%&#39;,&#160; &#160; &#160;	 &#160; caption: &#34;Schedule&#34;,&#160; &#160; &#160;	},&#160; &#160; &#160;		 		root: function(obj) { return obj; }&#160; &#160; &#160;		 		id: &#34;Id&#34;,&#160; &#160; &#160;				repeatitems : false,&#160; &#160; &#160;	jsonReader: {&#160; &#160; &#160; &#160; &#160;sortorder: &#34;desc&#34;,&#160; &#160; &#160; &#160;viewrecords: true,&#160; &#160; &#160; &#160;	 &#160;sortname: &#39;splitDistrict&#39;,&#160; &#160; &#160; &#160; 	 pager: &#39;#schTablePager&#39;,&#160; &#160; &#160; &#160; &#160; &#160;rowList:[10,20,30],&#160; &#160; &#160; &#160; &#160;autowidth: true,&#160; &#160; &#160; &#160; 	rowNum: &#34;20&#34;,&#160;&#160; &#160; &#160; &#160; 	],&#160; &#160; &#160; &#160; 		{name:&#39;notes&#39;,index:&#39;notes&#39;, width:60, editable:true}&#160; &#160; &#160; &#160; 		{name:&#39;fri&#39;,index:&#39;fri&#39;, width:12, align:&#34;right&#34;, editable:true},&#160; &#160; &#160; &#160; 		{name:&#39;thu&#39;,index:&#39;thu&#39;, width:12, align:&#34;right&#34;, editable:true},&#160; &#160; &#160; &#160; 		{name:&#39;wed&#39;,index:&#39;wed&#39;, width:12, align:&#34;right&#34;, editable:true},&#160; &#160; &#160; &#160; 		{name:&#39;tue&#39;,index:&#39;tue&#39;, width:12, align:&#34;right&#34;, editable:true},&#160; &#160; &#160; &#160; 		{name:&#39;mon&#39;,index:&#39;mon&#39;, width:12, align:&#34;right&#34;, editable:true},&#160; &#160; &#160; &#160; 		{name:&#39;fwBeginDate&#39;,index:&#39;fwBeginDate&#39;, width:25, align:&#34;right&#34;, editable:true},&#160; &#160; &#160; &#160; 		{name:&#39;fiscalWeek&#39;,index:&#39;fiscalWeek&#39;, width:20, align:&#34;right&#34;, editable:true},&#160; &#160; &#160; &#160; 		{name:&#39;quarter&#39;, index:&#39;quarter&#39;,	width:15},&#160; &#160; &#160; &#160; 		{name:&#39;contactName&#39;,index:&#39;contactName&#39;, width:40},&#160; &#160; &#160; &#160; 		{name:&#39;splitDistrict&#39;,	index:&#39;splitDistrict&#39;,	width:20},&#160; &#160; &#160;			formatoptions:{keys:true}},&#160; &#160; &#160;		{name: &#39;myac&#39;, width:55, fixed:true, sortable:false, resize:false, formatter:&#39;actions&#39;,&#160; &#160; &#160; &#160; 	colModel:[&#160; &#160; &#160; &#160; 	colNames:[&#39; &#39;, &#39;Sp Dist&#39;, &#39;Contact Name&#39;, &#39;Quarter&#39;, &#39;Fis Week&#39;,&#39;FW Beg Date&#39;,&#39;Mon&#39;,&#39;Tue&#39;,&#39;Wed&#39;,&#39;Thu&#39;,&#39;Fri&#39;, &#39;Notes&#39;],&#160; &#160; &#160;		datatype: &#34;json&#34;,&#160;&#160; &#160; &#160; &#160; 	url:&#39;/local/schedule&#39;,jQuery(&#34;#schTable&#34;).jqGrid({</p>
</div>
]]></description>
        	        	<pubDate>Fri, 21 Oct 2011 00:26:13 +0300</pubDate>
        </item>
</channel>
</rss>