title: Get selected row on right mouse click in Kendo Grid
body: <p>I have a Kendo Grid and I want to detect the right click and left click, so based on these I do two separate things. I used to get ID from the grid on either left or right click before and was working fine. But to fix an IE11 clicking problem I had to update the kendo.js to 2013.2.716 version and after that it detects left/right click all right but for "Right Click" can't get the selected row Id. The following is my code to detect left/right click and PlodId is a column in my grid:</p>
  
  <pre><code>function LoadMainShiftGrid() {
  
  //For Right Click --&gt; Delete Selected Shift
  
  $("#shiftReport").delegate("tbody&gt;tr", "contextmenu", function (e) {
      if (e.which == 3) {
          $("#plodDetails").hide();            
          var gridData = $('#shiftReport').data("kendoGrid");
          var selectedRowData = gridData.dataItem($('.k-grid').find("tr.k-state-selected"));
  
      // MY PROBLEM FOR RIGHT CLICK SELECTEDROWDATA COMES TO NULL &lt;&lt;&lt;&lt;
  
          var SelectedPlodId = selectedRowData.PlodId;                        
      }
  });
  
  //For Left Click --&gt; Show Plod Detials
  
  $("#shiftReport").delegate("tbody&gt;tr", "click", function (e) {
      if (e.which == 1) {
          var gridData = $('#shiftReport').data("kendoGrid");
          var selectedRowData = gridData.dataItem($('.k-grid').find("tr.k-state-selected"));
          var SelectedPlodId = selectedRowData.PlodId;           
      }
  });
  }
  </code></pre>
  
  <p>Thank you in advance.</p>