<?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: conditionally suppressing parts of pager</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/conditionally-suppressing-parts-of-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/conditionally-suppressing-parts-of-pager/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>Reg on conditionally suppressing parts of pager</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/conditionally-suppressing-parts-of-pager#p18375</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/conditionally-suppressing-parts-of-pager#p18375</guid>
        	        	<description><![CDATA[<p>Hello Tony,</p>
<p>Yes,&#160;showing or hiding the center &#60;td &#62; &#160;works, but it isn&#39;t fine enough for what I want.</p>
<p>What I like to do is always show the rowNum dropdown (so an operator can change the number of rows to show) but show the paging controls only&#160;when there is&#160;more than one page. Unfortunately, these are all in the center &#60; td &#62; so it is all of them or none of them.</p>
<p>To accomplish what I want to be able to do, either the rowNum dropdown has to be in a separate &#60; td &#62; or each element of the paging controls has to have a unique id. Personally, I think the easiest (and most flexible) approach is to give every element its own ID.</p>
<p>Can I ask that this be put on the list of enhancements for the next release, please?</p>
<p>Thanks,</p>
<p>Reg</p>
]]></description>
        	        	<pubDate>Fri, 02 Jul 2010 19:18:21 +0300</pubDate>
        </item>
        <item>
        	<title>tony on conditionally suppressing parts of pager</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/conditionally-suppressing-parts-of-pager#p18082</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/conditionally-suppressing-parts-of-pager#p18082</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Yes a lot of thing are changed. The first, prev, next last just exixsts.</p>
<p>If you just want to disable all the pager stuff:</p>
<p>If your pager buttons are in the center then you can jus</p>
</p>
<p>$("#pager_center", "#pager").hide() // or show()</p>
</p>
<p>Where "pager" is the id of the pager</p>
</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Sun, 20 Jun 2010 12:52:21 +0300</pubDate>
        </item>
        <item>
        	<title>Reg on conditionally suppressing parts of pager</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/conditionally-suppressing-parts-of-pager#p18025</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/conditionally-suppressing-parts-of-pager#p18025</guid>
        	        	<description><![CDATA[<p>Well, the simple solution of applying .show() and .hide() to a td apparently doesn&#39;t work, so I still cannot make this work the way I would like.</p>
<p>Tony, is there any way that you could add IDs to the elements in this area?</p>
</p>
<p>Thanks</p>
<p>Reg</p>
]]></description>
        	        	<pubDate>Fri, 18 Jun 2010 17:24:59 +0300</pubDate>
        </item>
        <item>
        	<title>Reg on conditionally suppressing parts of pager</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/conditionally-suppressing-parts-of-pager#p18020</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/conditionally-suppressing-parts-of-pager#p18020</guid>
        	        	<description><![CDATA[<p>Thank you Michael, that helps.</p>
</p>
<p>Using FireFox shows that these elements do not have an id assigned, unlike prev, next, last, etc. I am going to try to hide the entire &#60;td&#62; which does have an id</p>
</p>
<p>Thanks,</p>
<p>Reg</p>
]]></description>
        	        	<pubDate>Fri, 18 Jun 2010 02:29:53 +0300</pubDate>
        </item>
        <item>
        	<title>michaelg on conditionally suppressing parts of pager</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/conditionally-suppressing-parts-of-pager#p18019</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/conditionally-suppressing-parts-of-pager#p18019</guid>
        	        	<description><![CDATA[<p>Hi Reg,</p>
</p>
<p>I can&#39;t answer your question because I don&#39;t use 3.7 yet, but I would suggest to use Firefox and use the Firebug plugin if you need to find out the names of elements.</p>
<p>Its extreemly useful for debugging javascript problems etc. as well.</p>
<p>I hope that helps</p>
<p>Cheers,</p>
<p>Michael</p>
]]></description>
        	        	<pubDate>Fri, 18 Jun 2010 01:43:59 +0300</pubDate>
        </item>
        <item>
        	<title>Reg on conditionally suppressing parts of pager</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/conditionally-suppressing-parts-of-pager#p18018</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/conditionally-suppressing-parts-of-pager#p18018</guid>
        	        	<description><![CDATA[<p>When using ver 3.4, I included the following code to dynamically hide or show the page selector controls depending on whether or not there is more than 1 page:</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160; if(jQuery("#tblcontents").getGridParam("records") &#62; jQuery("#tblcontents").getGridParam("rowNum")){ <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; jQuery("#tblcontentsPager").find("#first, #prev, input.selbox, #sp_1, #sp_2, #next, #last").show(); <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; }else{ <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; jQuery("#tblcontentsPager").find("#first, #prev, input.selbox, #sp_1, #sp_2, #next, #last").hide(); <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; }; </p>
<p>In ver 3.7, I think, some of the controls have changed&#160;names. I have tried to figure this out&#160;by reading grid.base.js but interpreting javascript is not something I do well.</p>
<p>Can anyone tell me&#160;the names of these controls?</p>
<p>Is there a better way (in ver 3.7) to do what I want to do? The number of records to be returned depends on a setting on the web page, not available at the time that I define the jqGrid so it would still have to be dynamically set.</p>
</p>
<p>Thanks</p>
<p>Reg&#160;</p>
]]></description>
        	        	<pubDate>Thu, 17 Jun 2010 20:44:22 +0300</pubDate>
        </item>
</channel>
</rss>