title: how to reset the search toolbar and search filters in newer versions of free-jqgrid?
body: <p>for older versions of <code>free-jqgrid</code> i used a function to reset the search toolbar and filters:</p>
  
  <pre><code>function resetSearchToolbar()
  {
      var col_arr = $("#grid").jqGrid("getGridParam", "colModel");
      var toolbar_selector;
  
      for(var i = 0, max = col_arr.length; i &lt; max; i++)
      {
          if(col_arr[i].search &amp;&amp; $("#gs_" + col_arr[i].name).val().length)
          {
              toolbar_selector = $("#gs_" + col_arr[i].name)
              toolbar_selector.val("");
          }
      }
  
      // trigger toolbar searching with key-event:
      if(typeof toolbar_selector !== "undefined")
          toolbar_selector.trigger("keydown");
  }
  </code></pre>
  
  <p>this was kind of a very bad hack - but it worked for me.</p>
  
  <p>is there a better way to achieve this in newer versions of free-jqgrid (4.13+)?</p>