<?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: Zebra effect incorrect with true scrolling on</title>
	<link>http://www.trirand.com/blog/?page_id=393/bugs/zebra-effect-incorrect-with-true-scrolling-on</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/bugs/zebra-effect-incorrect-with-true-scrolling-on/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on Zebra effect incorrect with true scrolling on</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/zebra-effect-incorrect-with-true-scrolling-on#p14122</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/zebra-effect-incorrect-with-true-scrolling-on#p14122</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Thanks. This is true and I confirm this bug. We will try to correct them .</p>
<p>Best Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Fri, 22 Jan 2010 10:08:38 +0200</pubDate>
        </item>
        <item>
        	<title>Marinos on Zebra effect incorrect with true scrolling on</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/zebra-effect-incorrect-with-true-scrolling-on#p14053</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/zebra-effect-incorrect-with-true-scrolling-on#p14053</guid>
        	        	<description><![CDATA[<p>My grid uses true scrolling {scroll:1} and zebra effect {altRows:1, altClass=&#8221;alternateRow&#8221;}. The second page always starts with an even row, that is not correct.<br /><span style="color: #999999;">(complete grid configuration:&#160;</span><a href="http://www.trirand.com/blog/?page_id=393/help/negative-rownumbers/#p14054" rel="nofollow" target="_blank"><a href="http://www.trirand.com/blog/?p" rel="nofollow">http://www.trirand.com/blog/?p</a>.....rs/#p14054</a><span style="color: #999999;">)&#160;</span></p>
<p>Example:<br />Page 1 consists of 9 records. The last row will be an even row, it doesn&#39;t have the class &#8220;alternateRow&#8221;.<br />When true scrolling is on, the second page starts with an even row. This row doesn&#39;t&#160;also&#160;have the class &#8220;alternateRow&#8221;.<br />This results in two even rows next to each other.</p>
<p>I think the code j=0 is incorrect on line 485 in grid.base.js.<br />This is used to determine wether the row is even or odd in cn1 = j%2 == 1 ? cn : &#39;&#39;;<br />I don&#39;t know how to access the previous row added to determine if the row should be an even or an odd one.</p>
<p>Do you know how to fix this?</p>
]]></description>
        	        	<pubDate>Tue, 19 Jan 2010 15:46:38 +0200</pubDate>
        </item>
</channel>
</rss>