title: How do I get the index and data of a selected row in a grouped Kendo grid
body: <p>I'm trying to access the row index like this:</p>
  
  <pre><code>var grid = $("#grid").data("kendoGrid");
  alert(grid.select().index());
  </code></pre>
  
  <p>I have added my code in this <a href="http://jsfiddle.net/vw5tG/">jsfiddle</a> link. This code worked in my system,  I dont know why  <code>deleteRecord()</code> method isn't invoked in jsfiddle, But that is not actual question. </p>
  
  <p>Here while clicking on last row's cancel button alert message will says index as <strong>8</strong>, But the actual index is <strong>4</strong>. every button gives me wrong index only.</p>