title: Getting row data from SlickGrid when using the pager plugin
body: <p>I'm using SlickGrid with the pager plugin. My intent is to display line items in SlickGrid and allow the user to double click on a row to get more detail. I have code that seems to work fine but it feels as though I'm doing this the hard way:</p>
  
  <pre><code>grid.onDblClick.subscribe(function(e, args) {
      var selectedIndex = parseInt(grid.getSelectedRows());
      var pageInfo = dataView.getPagingInfo();
      var pageSize = pageInfo.pageSize;
      var pageNum = pageInfo.pageNum;
      var idx = pageSize*pageNum + selectedIndex;
      var asset = rows[idx].assetName;
      alert("Selected Asset is " + asset);
  });
  </code></pre>
  
  <p>I've seen other questions posted where people did a <code>grid.getData()[selectedIndex]</code> or a <code>dataView.getItemById(selectedIndex)</code>, but since <code>selectedIndex</code> is always a 0 to something number, I always got data from the first page in my list regardless of which page I was on. Is there a direct way to map a selected index on a page to the actual row in the data array? Again, the code above seems to work fine - just feels like I'm missing an obvious method somewhere.</p>