<?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: Having problem with pager</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/having-problem-with-pager</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/having-problem-with-pager/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>otaviosoares on Having problem with pager</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/having-problem-with-pager#p19128</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/having-problem-with-pager#p19128</guid>
        	        	<description><![CDATA[<p>I figured out how to solve this.</p>
</p>
<p>I changed the attr of pager div from class to id, and it worked</p>
]]></description>
        	        	<pubDate>Fri, 13 Aug 2010 20:39:07 +0300</pubDate>
        </item>
        <item>
        	<title>otaviosoares on Having problem with pager</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/having-problem-with-pager#p19122</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/having-problem-with-pager#p19122</guid>
        	        	<description><![CDATA[<p>When I add the option pager it throws and exception: Syntax error, unrecognized expression: #</p>
</p>
<p>If i remove the pager the error doesn&#39;t appear anymore.</p>
</p>
<p>Anybody knows what&#39;s happening?</p>
</p>
<p>Here s my code:</p>
<p><input type='button' class='sfcodeselect' name='sfselectit3801' value='Select Code' data-codeid='sfcode3801' /></p>
<div class='sfcode' id='sfcode3801'>
<p>var jqGrid = $(&#34;table.jqVejaGrid&#34;);</p>
<p>var jqPager = $(&#34;div.jqVejaPager&#34;);</p>
</p>
<p>try {</p>
<p><span style=&#34;white-space:pre&#34;> </span>jqGrid.jqGrid({</p>
<p><span style=&#34;white-space: pre;&#34;> </span>url: &#39;/Aprove/Util/Services/listarPostagens.aspx&#39;,</p>
<p><span style=&#34;white-space: pre;&#34;> </span>datatype: &#34;json&#34;,</p>
<p><span style=&#34;white-space: pre;&#34;> </span>postData: {</p>
<p><span style=&#34;white-space: pre;&#34;> </span>atividadeId: atividadeId,</p>
<p><span style=&#34;white-space: pre;&#34;> </span>status: status</p>
<p><span style=&#34;white-space: pre;&#34;> </span>},</p>
<p><span style=&#34;white-space: pre;&#34;> </span>colNames: obterColNames(canalId, status),</p>
<p><span style=&#34;white-space: pre;&#34;> </span>colModel: obterColModel(canalId, status),</p>
<p><span style=&#34;white-space: pre;&#34;> </span>rowNum: 20,</p>
<p><span style=&#34;white-space: pre;&#34;> </span>rowList: [5, 10, 20, 30, 50, 100],</p>
<p><span style=&#34;white-space: pre;&#34;> </span>pager: jqPager,</p>
<p><span style=&#34;white-space: pre;&#34;> </span>multiselect: true,</p>
<p><span style=&#34;white-space: pre;&#34;> </span>height: &#34;auto&#34;,</p>
<p><span style=&#34;white-space: pre;&#34;> </span>//viewrecords: true,</p>
<p><span style=&#34;white-space: pre;&#34;> </span>jsonReader: {</p>
<p><span style=&#34;white-space: pre;&#34;> </span>repeatitems: false,</p>
<p><span style=&#34;white-space: pre;&#34;> </span>id: &#34;cell.Id&#34;</p>
<p><span style=&#34;white-space: pre;&#34;> </span>},</p>
<p><span style=&#34;white-space: pre;&#34;> </span>gridComplete: function() {</p>
<p><span style=&#34;white-space: pre;&#34;> </span>$(&#34;select#ctl00_ContentPlaceHolder1_cmbAtividades&#34;).unbind(&#34;change&#34;).bind(&#34;change&#34;,&#160;function() {</p>
<p><span style=&#34;white-space: pre;&#34;> </span>var option = $(&#34;option:selected&#34;);</p>
<p><span style=&#34;white-space: pre;&#34;> </span>var aId = parseInt(option.val());</p>
<p><span style=&#34;white-space: pre;&#34;> </span>var cId = parseInt(option.attr(&#34;canalId&#34;));</p>
<p><span style=&#34;white-space: pre;&#34;> </span>jqGrid.setGridParam({</p>
<p><span style=&#34;white-space: pre;&#34;> </span>postData: {</p>
<p><span style=&#34;white-space: pre;&#34;> </span>atividadeId: aId,</p>
<p><span style=&#34;white-space: pre;&#34;> </span>status: status</p>
<p><span style=&#34;white-space: pre;&#34;> </span>},</p>
<p><span style=&#34;white-space: pre;&#34;> </span>colNames: obterColNames(cId, status),</p>
<p><span style=&#34;white-space: pre;&#34;> </span>colModel: obterColModel(cId, status)</p>
<p><span style=&#34;white-space: pre;&#34;> </span>});</p>
<p><span style=&#34;white-space: pre;&#34;> </span>jqGrid.trigger(&#34;reloadGrid&#34;);</p>
<p><span style=&#34;white-space: pre;&#34;> </span>});</p>
<p><span style=&#34;white-space: pre;&#34;> </span>carregarBotoes(status, jqGrid);</p>
<p><span style=&#34;white-space: pre;&#34;> </span>}</p>
<p><span style=&#34;white-space: pre;&#34;> </span>});</p>
<p>}</p>
<p>catch (ex) {</p>
<p><span style=&#34;white-space: pre;&#34;> </span>console.log(ex);</p>
<p>}</p>
</div>
<p>thanks</p>
]]></description>
        	        	<pubDate>Fri, 13 Aug 2010 16:13:16 +0300</pubDate>
        </item>
</channel>
</rss>