title: jqgrid: How to set cell specific css class at generation time
body: <p>I am building a jqgrid that needs different background (or in general, a different css class) value for specific cells.  I know which cells need the class applied at generation time of the data being sent down to jqgrid.  What I would like is to be able to indicate a class within the jqgrid rows structure for each specific cell:</p>
  
  <pre><code>&lt;rows&gt;
    &lt;page&gt; &lt;/page&gt;
    &lt;total&gt; &lt;/total&gt;
    &lt;records&gt; &lt;/records&gt;
      &lt;row&gt;
        &lt;cell&gt;1.00&lt;/cell&gt;
        &lt;cell class='errorClass'&gt;15.00&lt;/cell&gt;
        &lt;cell class='warningClass'&gt;9.00&lt;/cell&gt;
          …
      &lt;/row&gt;
      &lt;row&gt;
        &lt;cell&gt;1.00&lt;/cell&gt;
        &lt;cell&gt;2.00&lt;/cell&gt;
        &lt;cell&gt;1.15&lt;/cell&gt;
          …
      &lt;/row&gt;
        …
  &lt;/rows&gt;
  </code></pre>
  
  <p>I know I can do this formatting after the data is sent down, but I would like to see the grid drawn with the formatting in place rather than after the fact.  </p>
  
  <p>I've achieved something like what I want by setting using a  tag within the cell:</p>
  
  <pre><code>&lt;cell&gt;&lt;span class='warningClass'&gt;3.00&lt;/span&gt;&lt;/cell&gt;
  </code></pre>
  
  <p>But it does not set the class for the entire cell, just data within, with only the text highlighted and not the entire cell.</p>