Conditional row formatting jQuery cells in two consecutive row with different values
<p>Need to color cells in consecutive row with different formating different from other cells. Conditional raw formating</p>

<p>Pseudopcode would be something like:</p>

<pre><code>foreach oddrow in table
    foreach cell in row
        if cellvalue != previosCellvalue(previous even)
              color differently
</code></pre>

<p>For example:</p>

<pre><code>&lt;table&gt;
   &lt;tr&gt;
      &lt;td&gt;1&lt;/td&gt;&lt;td&gt;2&lt;/td&gt;
   &lt;/tr&gt;
      &lt;td&gt;1&lt;/td&gt;&lt;td&gt;3&lt;/td&gt;
   &lt;tr&gt;
      &lt;td&gt;2&lt;/td&gt;&lt;td&gt;4&lt;/td&gt;
   &lt;/tr&gt;
   &lt;tr&gt;
      &lt;td&gt;2&lt;/td&gt;4&lt;td&gt;&lt;/td&gt;
   &lt;/tr&gt;
&lt;/table&gt;
</code></pre>

<p>In above table row one cell two and row two cell two will be styled different, all other will retain their style.</p>
