title: jqGrid filter toolbar show search operator selector just for single column
body: <p>I have jqGrid table with many columns. Searching in grid is made using filter toolbar. For most of them search is just simple default operator. For one datetime column I want different kind of operators and datepicker selector.
  I have added <code>dataInit</code> datepicker initialization to <code>searchoptions</code>, necessary operators to <code>searchoptions.sopt</code>. To show this operators I have set searchOperators to true. So for this column all is ok. I have datepicker with operator selector popup. But for all other columns default operator icon is shown on the left of it. It is annoying as operator is default and user couldn't change it. So is there is some possibility to hide them using jqGrid API? As far as I could see I could hide this only using my custom code:</p>
  
  <p>I need to check my column model and after rendering of grid (may be in <code>loadComplete</code>) for all columns that have empty <code>sopt</code> or <code>sopt.length == 0</code> to remove operator selector. Or add CSS class that hide it. Not sure which of these solution is better (hide or remove) because removing could broke some logic, and hiding could affect width calculation. Here is sample of what I mean on <a href="http://jsfiddle.net/yauhen/Jg2DT/">fiddle</a></p>
  
  <pre class="lang-js prettyprint-override"><code>function fixSearchOperators()
  {
      var columns = jQuery("#grid").jqGrid ('getGridParam', 'colModel');
      var gridContainer = $("#grid").parents(".ui-jqgrid");
      var filterToolbar = $("tr.ui-search-toolbar", gridContainer);
  
      filterToolbar.find("th").each(function()
      {
          var index = $(this).index();
          if(!(columns[index].searchoptions &amp;&amp;
               columns[index].searchoptions.sopt &amp;&amp;
               columns[index].searchoptions.sopt.length&gt;1))
          {
              $(this).find(".ui-search-oper").hide();
          }
      });
  }
  </code></pre>
  
  <p>Does anybody have some better ideas?</p>