title: jqGrid, datatype: function() and access to sord, sidx, etc
body: <p>I'm attempting to implement the jqGrid using a WebMethod on the page that hosts the grid. This works if I using the dataType: function() in the jqGrid:</p>
  
  <pre><code> $("#mygrid").jqGrid({
       ...
       datatype: function() {
            $.ajax({
                url: "myPage.aspx/gridData",
                type: "POST",
                contentType: "application/json; char=utf-8"
                ...
            });
       }
    )};
  </code></pre>
  
  <p>In my code behind of the same page, I have my method:</p>
  
  <pre><code>[WebMethod()]
  public static List&lt;MyData&gt; gridData() {
      return MyClass.getData();
  }
  </code></pre>
  
  <p>The only thing I'm not sure of is how I can get access to the data used for paging, sorting (sord, sidx, etc.)?</p>
  
  <p>Thanks in advance.</p>