title: KendoUI Grid serverpaging
body: <p>I'm trying to populate a KendoUI grid with JSON data where the server returns the total number of rows along with the data, but I'm having some trouble getting serverPaging to work properly. I create and assign the dataSource of the grid as follows:</p>
  
  <pre><code>                var oDS = new kendo.data.DataSource({
                      schema: {
                          data:  "data",
                          total: "total"
                      },
                      data: self.grdTableData,
                      serverPaging: true,
                      pageSise: 50,
                      total: joOutput["TotalRecords"]
                  });
  
                  grdTableResults.setDataSource(oDS);
  </code></pre>
  
  <p>and the first page shows the first 50 of 939 records but there is only ever 1 page (the navigation arrows never respond to anything) and I see NaN - NaN of 939 items and the rotating circle of dots in the centre of the grid that never goes away.</p>
  
  <p>One thing that is different in all the examples I've looked at is that my $.ajax call and the the processing of the JSON data  in .done doesn't use "transport: read" but I'm thinking how I send the data and get it back shouldn't matter (or does it because every page request is a new server read?). But I don't think I'm doing enough to handle the server paging properly even though it seems I'm setting data source values similar to those set in the example at <a href="http://jsfiddle.net/rusev/Lnkug/" rel="noreferrer">http://jsfiddle.net/rusev/Lnkug/</a>. Then there's the "take" and "skip" values that I'm not sure about, but I do have "startIndex" and "rowsPerPage" that I'm sending to the server that can be used there. I assume the grid can tell me what page I'm on show I can set my "startIndex" appropriately and if I have an Items per Page" drop down I can reset my "rowsPerPage" value?</p>
  
  <p>Anyway, sorry for all the newbie questions. Any help and suggestions is genuinely appreciated. Thanks!</p>