title: How to use Kendo grid custom command?
body: <p>I am working on ASP.NET MVC4 application with Kendo UI Grid.</p>
  
  <p>And i want to show custom confirmation message for 'Destroy' command.And for that i am using custom command.</p>
  
  <p>Below is the piece of the code for that :-</p>
  
  <pre><code>&lt;%:Html.Kendo().Grid&lt;Kendo.Mvc.Examples.Models.EmployeeViewModel&gt;()
      .Name("Grid")
      .Columns(columns =&gt;
      {
          columns.Bound(e =&gt; e.FirstName);
          columns.Bound(e =&gt; e.LastName);
          columns.Bound(e =&gt; e.Title);
          columns.Command(command =&gt; command.Custom("ViewDetails").Click("showDetails"));
      })
      .DataSource(dataSource =&gt; dataSource
          .Ajax()
          .Read(read =&gt; read.Action("CustomCommand_Read", "Grid"))
       )
  %&gt;
  </code></pre>
  
  <blockquote>
    <blockquote>
      <p>Now,i want to add one method in DataSource before call my "ShowDetails" javascript function(custom command onclick function).</p>
    </blockquote>
  </blockquote>
  
  <p>So how can i add my action in DataSource section like - Read,Create,Destory ?</p>