<?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: jqGrid alternate rows within each group</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/jqgrid-alternate-rows-within-each-group</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/jqgrid-alternate-rows-within-each-group/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>milad on jqGrid alternate rows within each group</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/jqgrid-alternate-rows-within-each-group#p25097</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/jqgrid-alternate-rows-within-each-group#p25097</guid>
        	        	<description><![CDATA[<p>Heads up, I tried to do this like below, but then realized that rows are not children of a group row, so it will not work?</p>
</p>
<p>loadComplete: function () {&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; $("tr.jqgroup").each(function () {&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; $(this).children("tr.jqgrow").each(function (index) {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; if (index % 2 != 0) {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; $(this).css("background", "#DDDDDC");<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; }&#160;&#160; &#160;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; });<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#160;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; });<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; },</p>
</p>
<p>my thinking is I might be able to do this with jQuery, but I need to determine the apropriate way to associate a group row to the rows within that group.&#160; Thanks.</p>
]]></description>
        	        	<pubDate>Mon, 07 Nov 2011 19:29:14 +0200</pubDate>
        </item>
        <item>
        	<title>milad on jqGrid alternate rows within each group</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/jqgrid-alternate-rows-within-each-group#p25095</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/jqgrid-alternate-rows-within-each-group#p25095</guid>
        	        	<description><![CDATA[<p>I know how to add alternating rows, but what I would like to do is have the alternating rows apply against each group so that each group begins with a specific background-color, and then have each other row within that group alternate.&#160; With standard alternating rows, what happens, if there is only one row in a group, the next group&#39;s first row alternates to the alternating row background-color, but as I said, I would like each group&#39;s first row to begin with the same color for consistenancy.&#160; What is the best way to pull this off?</p>
</p>
<p>Thanks.</p>
]]></description>
        	        	<pubDate>Mon, 07 Nov 2011 18:44:42 +0200</pubDate>
        </item>
</channel>
</rss>