title: jqgrid format column dynamically
body: <p>I am trying to format a jqgrid which has some dynamic columns which I create like this</p>
  
  <pre><code>  JQGridColumn column1 = new JQGridColumn() {
              DataField = "ID",
              PrimaryKey = true
          };
     ErrorsJQGrid.Columns.Add(column1);
  </code></pre>
  
  <p>How do I format these columns to have a say 'yellow background color'?  I can specify a  in the jqgrid columns definition, but since my columns are dynamically generated, I am not sure how it's done from the codebehind.</p>
  
  <p>Here is the link to the demos <a href="http://www.trirand.net/examples/functionality/formatters/default.aspx" rel="nofollow noreferrer">default formatter</a>, <a href="http://www.trirand.net/examples/functionality/custom_formatter/default.aspx" rel="nofollow noreferrer">custom formatter</a></p>