title: Get the page number and page size
body: <p>I need to get the page size and page number of the <strong>jsgrid</strong>. Based on the page number, i need to get the records from DB. Because when I use above 100k records, jsgrid got stuck and its loading for a long period. </p>
  
  <p>How to get the page number of the jsgrid?
  And also I want to get the search text and pass it to cs method. I don't want filter inside the jsgrid by using</p>
  
  <pre><code>loadData: function (filter) {
      return $.grep(clients, function (client) {
          return (!filter["fieldname"] || client["fieldname"].toLowerCase().indexOf(filter["fieldname"].toLowerCase()) &gt; -1) )}
  </code></pre>
  
  <p>It is filtering the data which is loaded in jsgrid. I want to pass the search text to cs.</p>
  
  <p>to get the data to bind in jsgrid,(serializing the data)</p>
  
  <pre><code>  DataTable dtItem = // get the data from the DB foreach 
      (DataRow row in dtItem .Rows) 
      {
       gridList += "{'Id':" + row["ID"] + ",'Name': '" + row["NAME"] + "'}, ";
      }
  </code></pre>
  
  <p>to search,need to get the data from the filter area and pass it along with the pagenumber to the sql procedure.</p>