title: Kendo UI Grid Toolbar - pass dataItem to DestroyButton/EditButton
body: <p>I have a Kendo UI grid with a toolbar (Razor syntax) and I cannot figure out what to pass as an argument into the DestroyButton/EditButton. I know the button expects "dataItem" - but how do I get that?</p>
  
  <p>This is my grid:</p>
  
  <pre><code>@(Html.Kendo().Grid&lt;AspNetPermission&gt;().Name("grid")
        .DataSource(ds =&gt; ds.Ajax().Read(read =&gt; read.Action("Permissions_Read", "AspNetPermissions"))
            .Model(model =&gt; model.Id(p =&gt; p.Id))
            .Create(create =&gt; create.Action("Create", "AspNetPermissions").Data("sendAntiForgery"))
            .Update(update =&gt; update.Action("Edit", "AspNetPermissions").Data("sendAntiForgery"))
            .Destroy(destroy =&gt; destroy.Action("Delete", "AspNetPermissions").Data("sendAntiForgery"))
        )
        .Columns(columns =&gt;
        {
            columns.Bound(permission =&gt; permission.Name).Width(300);
        })
        .Selectable(selectable =&gt; selectable
        .Mode(GridSelectionMode.Single)
        .Type(GridSelectionType.Row))
        .Sortable()
        .Pageable()
        .Editable(edit =&gt; edit.Enabled(true))
        .ToolBar(tb =&gt; tb.Template(
            @&lt;text&gt;
                 @*display buttons only if user is enabled*@
                 @if (ViewBag.CanUserManage == true)
                 {
                     @item.CreateButton("Add", new{@class="SPAdd"})
                     @item.EditButton(whatToPutHere) &lt;!--    This is where I have a problem --&gt;
                     @item.DestroyButton(whatToPutHere)  &lt;!--    This is where I have a problem --&gt;
                     @item.SaveButton("Save","Cancel",new{@class="SPSave"})
                 }                        
             &lt;/text&gt;
            ))
        .Events(events =&gt; events
            .DataBinding("onGridDataBinding")
            .Change("onGridSelectionChanged")
            .DataBound("onGridDataBound") 
        )
      )
  </code></pre>
  
  <p>}</p>
  
  <p>Thx in Advance,
  Frank</p>