<?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: Add paging dynamically.</title>
	<link>http://www.trirand.com/blog/?page_id=393/discussion/add-paging-dynamically</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/discussion/add-paging-dynamically/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on Add paging dynamically.</title>
        	<link>http://www.trirand.com/blog/?page_id=393/discussion/add-paging-dynamically#p29935</link>
        	<category>Discussion</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/discussion/add-paging-dynamically#p29935</guid>
        	        	<description><![CDATA[<p>Hello,</p>
</p>
<p>Please let us know how you do this succesfully.</p>
<p>Thank you.</p>
</p>
<p>Kind Regards</p>
]]></description>
        	        	<pubDate>Thu, 05 Dec 2013 17:06:42 +0200</pubDate>
        </item>
        <item>
        	<title>ketanmaheta on Add paging dynamically.</title>
        	<link>http://www.trirand.com/blog/?page_id=393/discussion/add-paging-dynamically#p29933</link>
        	<category>Discussion</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/discussion/add-paging-dynamically#p29933</guid>
        	        	<description><![CDATA[<p>Hi Tony,</p>
<p>&#160; Thanks for ur reply.</p>
<p>&#160; If we go with the first approach even though the pager is getting hidden, it will show only the records what the page size was set and not all the records get displayed :).</p>
<p>Second approach, I don&#39;t think that is a good approach.</p></p>
]]></description>
        	        	<pubDate>Thu, 05 Dec 2013 13:52:29 +0200</pubDate>
        </item>
        <item>
        	<title>tony on Add paging dynamically.</title>
        	<link>http://www.trirand.com/blog/?page_id=393/discussion/add-paging-dynamically#p29932</link>
        	<category>Discussion</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/discussion/add-paging-dynamically#p29932</guid>
        	        	<description><![CDATA[<p>Hello,</p>
</p>
<p>By default pager can not be added dynamically.</p>
<p>I see two possible solutions</p>
<p>1. You will create the&#160; pager initially with the grid. Hide them and after some condition show them</p>
<p><input type='button' class='sfcodeselect' name='sfselectit8661' value='Select Code' data-codeid='sfcode8661' /></p>
<div class='sfcode' id='sfcode8661'>
<p>$("#grid").jqGrid({</p>
<p>...</p>
<p>pager : &#39;#pager&#39;,</p>
<p>...</p>
<p>});</p>
<p>$("#pager").hide();</p>
</div>
<p>and then</p>
</p>
<p>if(some_condition) {</p>
<p>&#160;&#160; $("#pager").show();</p>
<p>}</p>
</p>
<p>2. You willneed to unload the grid (see methods) and create it again withh enabled pager options.</p>
</p>
<p>Regards</p>
]]></description>
        	        	<pubDate>Thu, 05 Dec 2013 12:53:36 +0200</pubDate>
        </item>
        <item>
        	<title>ketanmaheta on Add paging dynamically.</title>
        	<link>http://www.trirand.com/blog/?page_id=393/discussion/add-paging-dynamically#p29929</link>
        	<category>Discussion</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/discussion/add-paging-dynamically#p29929</guid>
        	        	<description><![CDATA[<p>Hi All,</p>
<p>&#160;&#160; I am new to jqGrid. I want to add paging feature to jqGrid dynamically. I tried the following options but it is not working:</p>
<p>1)&#160; $grid.setGridParam({ pager: &#39;#pager&#39;, rowNum: 10, viewrecords: true, rowList: [10, 20, 30] });<br />2)&#160; $grid.jqGrid(&#39;setGridParam&#39;, { pager: &#39;#pager&#39;, rowNum: 10, viewrecords: true, rowList: [10, 20, 30] });</p>
<p>3)&#160; $grid.setGridParam({ pager: &#39;#pager&#39;, rowNum: 10, viewrecords: true, rowList: [10, 20, 30] }).trigger("reloadGrid");<br />4)&#160; $grid.jqGrid(&#39;setGridParam&#39;, { pager: &#39;#pager&#39;, rowNum: 10, viewrecords: true, rowList: [10, 20, 30] }).trigger("reloadGrid");</p>
<p>Please guide. Thanks in advance.</p>
]]></description>
        	        	<pubDate>Thu, 05 Dec 2013 10:33:57 +0200</pubDate>
        </item>
</channel>
</rss>