<?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: parameters sent to server</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/parameters-sent-to-server</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/parameters-sent-to-server/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>OlegK on parameters sent to server</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/parameters-sent-to-server#p21494</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/parameters-sent-to-server#p21494</guid>
        	        	<description><![CDATA[<p>Hello dgh1,</p>
<p>the usage of parameter <strong>sord</strong> is not a bug. I suppose that <strong>sord</strong> should be read as "sort direction". The parameter can be either <em>asc</em> or <em>desc</em>.</p>
<p>Parameter <strong>sord</strong> will be used together with <strong>sidx</strong> parameter which I read as "sort index". Sort index is the name from the &#39;index&#39; column of the corresponding column by which the grid should be sorted. If jqGrid column has no &#39;index&#39; property defined, the &#39;name&#39; property from colModel column will be used.</p>
<p>Next parameter <strong>nd</strong> I read as "new date". It contains timestamp (new Date().getTime()) and are used to prevent caching of AJAX requests in Internet Explorer. It has close meaning to <em>cache:false</em> parameter of <a href="http://api.jquery.com/jQuery.ajax/" target="_blank">jQuery.ajax</a>. In my opinion the parameter should be added only for HTTP GET requests, but it is added in case of filling of jqGrid per POST also. If you include <strong>prmNames: { nd:null}</strong> then the <strong>nd </strong>parameter will be not added (read <a href="http://stackoverflow.com/questions/3885658/jqgrid-data-stored-in-browser-cache/3885956#3885956" target="_blank">this</a> for more information).</p>
<p>Parameter <strong>_search</strong> is very easy. I suppose it was introduced for server technologies like PHP or ASP where you query server parameters manually. If <strong>_search</strong> is true, then other parameters <strong>searchField</strong>, <strong>searchOper</strong> and <strong>searchString</strong> or <strong>filters</strong> will be used and you should query there. In many cases you can query directly the parameters <strong>searchField</strong> or <strong>filters</strong> and ignore <strong>_search</strong>.</p>
<p>Best regards<br />Oleg</p>
]]></description>
        	        	<pubDate>Fri, 31 Dec 2010 00:58:55 +0200</pubDate>
        </item>
        <item>
        	<title>dgh1 on parameters sent to server</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/parameters-sent-to-server#p21493</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/parameters-sent-to-server#p21493</guid>
        	        	<description><![CDATA[<p>The URL by default is sending the below query parameters to the server:</p>
<p>Question #1 - In the 1st key/value I assume "sord" should be "sort", is this a bug, will it be changed in future release,</p>
<p>Question #2 - In the 3rd key/value pair, what is the key value "nd", how is it/should it be used.</p>
<p>Question #3 - In the 5th key/value pair, what is&#160; the key value "sidx" how is it/should it be used.</p>
<p>Question #4 - In the last key/value pair, what does the key value "_search" mean&#160; how is it/should it be used.</p>
</p>
<p>****** Start Query Params&#160; ************<br />-----------------------------<br />KEY:&#160;&#160; sord<br />VALUE: [asc]<br />-----------------------------<br />KEY:&#160;&#160; page<br />VALUE: [2]<br />-----------------------------<br />KEY:&#160;&#160; nd<br />VALUE: [1293736392673]<br />-----------------------------<br />KEY:&#160;&#160; jsoncallback<br />VALUE: [jsonp1293736371754]<br />-----------------------------<br />KEY:&#160;&#160; sidx<br />VALUE: [id]<br />-----------------------------<br />KEY:&#160;&#160; rows<br />VALUE: [10]<br />-----------------------------<br />KEY:&#160;&#160; _search<br />VALUE: [false]<br />****** End Query Params&#160;&#160;&#160; ************</p>
</p>
<p>Thank much for any responses.</p>
]]></description>
        	        	<pubDate>Thu, 30 Dec 2010 21:38:32 +0200</pubDate>
        </item>
</channel>
</rss>