title: jqGrid: using multiple methods to filter data
body: <p>My requirement is to show a page with multiple filters to apply to grid data.</p>
  
  <p>Suppose we are talking about Orders and an order has the following attributes</p>
  
  <pre><code>public class Order {
      public int OrderID
      public DateTime OrderDate
      public DateTime ShipmentDate
      public int OrderTotal
      public int OrderStatus
  }
  </code></pre>
  
  <p>Inside the jqgrid object I am showing all the attributes <strong>except the OrderStatus</strong></p>
  
  <p>The requirement is to create a view that has</p>
  
  <ul>
  <li>the jqGrid on the left part</li>
  <li>a panel on the right</li>
  </ul>
  
  <p>Inside the right panel the user will see a list of checkboxes that represents every possible OrderStatus value and he want to search using both methods (for example selecting the checkbox "Shipped Orders" and then filtering the grid with Amount greater than a value)</p>
  
  <p>I have already configured the advanced filtering (<code>multiplesearch:true</code>) inside the jqGrid object and I am able to create complex filters combining fields and logical operators.</p>
  
  <p>Any ideas on how I can submit even the data from the right panel when the user press the search button?</p>
  
  <p><strong>Update 1</strong>:</p>
  
  <p>Preamble: Oleg sample is fantastic but unfortunately does not fits requirements of my customer :(</p>
  
  <p>@Oleg: I do not understand why you think that:</p>
  
  <blockquote>
    <p>If the data are outside of the grid
    you will be show the order details on
    the right pane only for selected row.
    So the user will have not so good
    overview of the data.</p>
  </blockquote>
  
  <p>maybe my description was not so clear but I am not going to show any order detail. To better clarify my requirement I have modified your sample to show you the desired final UI which is as in the following image:
  <img src="https://i.stack.imgur.com/OLy6N.png--" alt="UI as teh customer want it"></p>
  
  <p>The customer want to filter the data in the grid using two methods or both together:</p>
  
  <ul>
  <li>Using the <code>multiplesearch</code> facilities provided by the grid itself (thanks for the workaround mention)</li>
  <li>Using the custom Search Panel (the one with the checkboxes on the right) provided</li>
  </ul>
  
  <p>From a functional point of view the requirement is very easy to express: When the user click on a checkbox or make a search using the native <code>multiplesearch</code> I should post values to the server including also the checkboxes state. </p>
  
  <p>To summarize I should:</p>
  
  <ul>
  <li>Add the checkboxes state when a post is made through the native <code>multiplesearch</code></li>
  <li>Add the current <code>multiplesearch</code> state (if any) when the user click on a checkbox</li>
  </ul>
  
  <p>Is there a way to do this?</p>