<?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: jquery beginner syntax question</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/jquery-beginner-syntax-question</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/jquery-beginner-syntax-question/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>bogoa666 on jquery beginner syntax question</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/jquery-beginner-syntax-question#p20295</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/jquery-beginner-syntax-question#p20295</guid>
        	        	<description><![CDATA[<p>This line is removing the add, edit, delete buttons of the navigation grid which are by default.</p>
<p><strong>#rowed3</strong> is refering to grid name and <strong>#prowed3</strong> to pager name</p>
]]></description>
        	        	<pubDate>Wed, 13 Oct 2010 22:22:40 +0300</pubDate>
        </item>
        <item>
        	<title>alohaaaron on jquery beginner syntax question</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/jquery-beginner-syntax-question#p20293</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/jquery-beginner-syntax-question#p20293</guid>
        	        	<description><![CDATA[<p>Hi, in the code below what does this line do?&#160;</p>
<p>jQuery("#rowed3&#8243;).jqGrid(&#39;navGrid&#39;,"#prowed3&#8243;,{edit:false,add:false,del:false});</p>
</p>
<p>In this code below output has already been sent to the #rowed3 table&#160;but the statement above references it again.&#160; What is the output?&#160; Does it add another row to the table?</p>
<p>Here is the example link. <a href="http://trirand.com/blog/jqgrid/jqgrid.html#" rel="nofollow" target="_blank"><a href="http://trirand.com/blog/jqgrid" rel="nofollow">http://trirand.com/blog/jqgrid</a>.....grid.html#</a></p>
<p>&#60;script&#62;</p>
<p>var lastsel;<br />jQuery("#rowed3&#8243;).jqGrid({<br />&#160;&#160; url:&#39;server.php?q=2&#39;,<br />datatype: "json",<br />&#160;&#160; colNames:[&#39;Inv No&#39;,&#39;Date&#39;, &#39;Client&#39;, &#39;Amount&#39;,&#39;Tax&#39;,&#39;Total&#39;,&#39;Notes&#39;],<br />&#160;&#160; colModel:[<br />&#160;&#160; {name:&#39;id&#39;,index:&#39;id&#39;, width:55},<br />&#160;&#160; {name:&#39;invdate&#39;,index:&#39;invdate&#39;, width:90, editable:true},<br />&#160;&#160; {name:&#39;name&#39;,index:&#39;name&#39;, width:100,editable:true},<br />&#160;&#160; {name:&#39;amount&#39;,index:&#39;amount&#39;, width:80, align:"right",editable:true},<br />&#160;&#160; {name:&#39;tax&#39;,index:&#39;tax&#39;, width:80, align:"right",editable:true}, <br />&#160;&#160; {name:&#39;total&#39;,index:&#39;total&#39;, width:80,align:"right",editable:true}, <br />&#160;&#160; {name:&#39;note&#39;,index:&#39;note&#39;, width:150, sortable:false,editable:true} <br />&#160;&#160; ],<br />&#160;&#160; rowNum:10,<br />&#160;&#160; rowList:[10,20,30],<br />&#160;&#160; pager: &#39;#prowed3&#39;,<br />&#160;&#160; sortname: &#39;id&#39;,<br />&#160;&#160;&#160; viewrecords: true,<br />&#160;&#160;&#160; sortorder: "desc",<br />onSelectRow: function(id){<br />if(id &#38;&#38; id!==lastsel){<br />jQuery(&#39;#rowed3&#39;).jqGrid(&#39;restoreRow&#39;,lastsel);<br />jQuery(&#39;#rowed3&#39;).jqGrid(&#39;editRow&#39;,id,true);<br />lastsel=id;<br />}<br />},<br />editurl: "server.php",<br />caption: "Using events example"<br />});<br />jQuery("#rowed3&#8243;).jqGrid(&#39;navGrid&#39;,"#prowed3&#8243;,{edit:false,add:false,del:false});<br />&#60;/script&#62;</p>
]]></description>
        	        	<pubDate>Wed, 13 Oct 2010 19:47:45 +0300</pubDate>
        </item>
</channel>
</rss>