<?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: Help with getGridParam</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/help-with-getgridparam</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/help-with-getgridparam/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>Jim P on Help with getGridParam</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/help-with-getgridparam#p6525</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/help-with-getgridparam#p6525</guid>
        	        	<description><![CDATA[<p>I stumpled on the solution:</p>
<p>document.location.href=&#39;ExportTo.cfm?typ=p&#38;met=DumpAGE&#38;<strong>sidx=&#39;+sortCol</strong>;</p>
]]></description>
        	        	<pubDate>Wed, 06 May 2009 09:48:47 +0300</pubDate>
        </item>
        <item>
        	<title>Jim P on Help with getGridParam</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/help-with-getgridparam#p6524</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/help-with-getgridparam#p6524</guid>
        	        	<description><![CDATA[<p>Tony,</p>
<p>Thanks for the pointer.</p>
<p>The value of sortCol in the alert() is the name of the current column selected as the sort.&#160; Which is what I expect it to be.</p>
<p>When I test the value of&#160; the URL&#160;that I pass, the value of sidx (just a url var) is:&#160; sortCol&#160; - not the value of sortCol.</p>
<p>How can I get the value of sortCol into this:</p>
<p>document.location.href=&#39;ExportTo.cfm?typ=p&#38;met=DumpAGE&#38;<strong>sidx=+sortCol&#39;</strong>;</p>
]]></description>
        	        	<pubDate>Wed, 06 May 2009 09:38:34 +0300</pubDate>
        </item>
        <item>
        	<title>tony on Help with getGridParam</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/help-with-getgridparam#p6491</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/help-with-getgridparam#p6491</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>After this line</p>
<p><strong>var sortCol = $(&#8221;#agelist&#8221;).getGridParam(&#8221;sortname&#8221;);</strong></p>
<p>if you have make alert(sortCol) what is the result.</p>
<p>Maybe you should check you code <strong>sidx=+sortCol - what is sidx - from where you have this value? What you expect from this expression. IMHO it will not work</strong></p>
</p>
<p>Try first to construct you string and after that make the link.</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Tue, 05 May 2009 09:06:29 +0300</pubDate>
        </item>
        <item>
        	<title>Jim P on Help with getGridParam</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/help-with-getgridparam#p6451</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/help-with-getgridparam#p6451</guid>
        	        	<description><![CDATA[<p>Tony,</p>
<p>In my pager for my grid, I have links to dump the grid to pdf or excel.&#160; To do this I link to a coldfusion page (Export.cfm and&#160;passing the parameters I need to recreate the grid query)&#160; I want to pass the grids current sort parameters (name and order).&#160; I&#39;m trying to use&#160;the .getGridParam method.</p>
<p>Is there another way to do this?</p>
<p>thanks, Jim</p></p>
]]></description>
        	        	<pubDate>Mon, 04 May 2009 15:11:56 +0300</pubDate>
        </item>
        <item>
        	<title>tony on Help with getGridParam</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/help-with-getgridparam#p6393</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/help-with-getgridparam#p6393</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Sorry but I do not understand what you mean.</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Wed, 29 Apr 2009 15:35:19 +0300</pubDate>
        </item>
        <item>
        	<title>Jim P on Help with getGridParam</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/help-with-getgridparam#p6361</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/help-with-getgridparam#p6361</guid>
        	        	<description><![CDATA[<p>Tony,</p>
<p>Part of my bold code was cut&#160;off.</p>
<p>&#160;&#160;&#160;$("#agelist").navGrid("#agepager2",{edit:false,add:false,del:false,search:false,refresh:false,position:"right"}).navButtonAdd(&#39;#agepager2&#39;,{caption:"To PDF", buttonimg:"images/pdf.png", onClickButton:<br />&#160;&#160;&#160; function()<br />&#160;&#160;&#160; {&#160;&#160; <br />&#160;&#160;&#160;&#160; <strong>var sortCol = $("#agelist").getGridParam("sortname");</strong><br />&#160;&#160;&#160;&#160; document.location.href=&#39;ExportTo.cfm?typ=p&#38;met=DumpAGE&#38;myacct=&#60;cfoutput&#62;#session.bizorg_objid#&#60;/cfoutput&#62;</p>
<p>&#38;listtyp=age&#38;<strong>sidx=+sortCol&#39;</strong>;<br />&#160;&#160;&#160;&#160; },<br />&#160;&#160;&#160; position:"last", title:&#39;Export to PDF&#39; }).navButtonAdd(&#39;#agepager2&#39;,{caption:"To Excel", buttonimg:"images/icon-xls.png", onClickButton: function(){document.location.href=&#39;ExportTo.cfm?typ=e&#38;met=DumpAGE&#38;myacct=&#60;cfoutput&#62;#session.bizorg_objid#&#60;/cfoutput&#62;&#38;listtyp=age&#39;;}, position:"last", title:&#39;Export to Excel&#39; })<br />&#160;&#160;&#160; ;&#160;</p>
]]></description>
        	        	<pubDate>Tue, 28 Apr 2009 10:39:35 +0300</pubDate>
        </item>
        <item>
        	<title>Jim P on Help with getGridParam</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/help-with-getgridparam#p6360</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/help-with-getgridparam#p6360</guid>
        	        	<description><![CDATA[<p>Tony,</p>
<p>I&#39;m trying to pass the value [name]&#160;of the current sort column in a url stream of the pager.&#160;&#160;&#160; See <strong>bold text below.</strong></p>
<p>I&#39;m using Cold Fusion.&#160; My url parameters on the input to ExportTo.cfm page show that sidx = sortCol.</p>
<p>how can I pass the value of sortCol ?</p>
<p>thanks,&#160; Jim</p>
</p>
<p>&#160;&#160;&#160;$("#agelist").navGrid("#agepager2",{edit:false,add:false,del:false,search:false,refresh:false,position:"right"}).navButtonAdd(&#39;#agepager2&#39;,{caption:"To PDF", buttonimg:"images/pdf.png", onClickButton:<br />&#160;&#160;&#160; function()<br />&#160;&#160;&#160; {&#160;&#160; <br />&#160;&#160;&#160;&#160; <strong>var sortCol = $("#agelist").getGridParam("sortname");<br /></strong>&#160;&#160;&#160;&#160; document.location.href=&#39;ExportTo.cfm?typ=p&#38;met=DumpAGE&#38;myacct=&#60;cfoutput&#62;#session.bizorg_objid#&#60;/cfoutput&#62;&#38;listtyp=age&#38;<strong>sidx=+sortCol&#39;</strong>;<br />&#160;&#160;&#160;&#160; },<br />&#160;&#160;&#160; position:"last", title:&#39;Export to PDF&#39; }).navButtonAdd(&#39;#agepager2&#39;,{caption:"To Excel", buttonimg:"images/icon-xls.png", onClickButton: function(){document.location.href=&#39;ExportTo.cfm?typ=e&#38;met=DumpAGE&#38;myacct=&#60;cfoutput&#62;#session.bizorg_objid#&#60;/cfoutput&#62;&#38;listtyp=age&#39;;}, position:"last", title:&#39;Export to Excel&#39; })<br />&#160;&#160;&#160; ;</p>
]]></description>
        	        	<pubDate>Tue, 28 Apr 2009 10:35:06 +0300</pubDate>
        </item>
</channel>
</rss>