title: Sort columns with a jQuery Flexigrid
body: <p>Is there a way I can mark JQuery Flexigrid columns as sortable if I don't define them in-line?</p>
  
  <p>i.e. I know I can do this  </p>
  
  <pre><code>    $("#flex1").flexigrid(  
      {  
          colModel: [
          { display: 'Col1', name: 'Col1', sortable: true  },
          { display: 'Col2', name: 'Col2', sortable: true  }
      });
  </code></pre>
  
  <p>But I construct the grid just like:  </p>
  
  <pre><code>$("#flex1").flexigrid();
  </code></pre>
  
  <p>and then just use a repeater control to output the table that JQuery will style:  </p>
  
  <pre><code>&lt;table id="flex1" &gt;  
  &lt;tr&gt;  
     &lt;th&gt;Col1 /th&gt;  
  ...  
  ...  
  &lt;asp:Repeater ID="Repeater1" runat="server"&gt;  
     &lt;ItemTemplate&gt;  
      &lt;tr&gt;  
         &lt;td&gt;&lt;%# Eval("Col1") %&gt;&lt;/td&gt;  ...
  </code></pre>