title: changing kendo grid command buttons
body: <p>I am creating the buttons in the Kendo Grid successfully , like this below , the buttons are actually rendered at <code>&lt;a href="#" onClick="showDetails ..... &gt;</code>   </p>
  
  <pre><code>    columns: [
        { field: "Title", width: "90px", title: "Event&lt;br /&gt;Name" },
        { field: "StartDate", title: "Event&lt;br /&gt;Date", width: 35 },
        { field: "Keywords", title: "Event&lt;br /&gt;Type", width: 35 },
        { field: "TotalDollars", title: "Total&lt;br /&gt;Collected", width: 20 },
        { field: "TotalTransactions", title: "# of&lt;br /&gt;Trans.", width: 20 },
        { field: "TotalAttending", title: "# of&lt;br /&gt;Attending", width: 30 },
        { field: "SocialViews", title: "# of&lt;br /&gt;Views", width: 30 },
        { command: { text: "ManageEvent", click: showDetails }, title: " Edit Event", width: "60px" },
        { command: { text: "ViewEvent", click: showEvent }, title: " View Event", width: "60px" }
      ]
  </code></pre>
  
  <p>now I want to change some attribute in them , if I put the change in the function <code>showDetails()</code> it works fine , but that seems kind of awkward , then on the click function you then change the attribute right before performing more code.  </p>
  
  <p>This works </p>
  
  <pre><code>            function showEvent(e) {
              $('.k-grid-ViewEvent').attr('target', '_blank');                
              var event = this.dataSource.getByUid(this.select().data("uid"));
              var id = event.ID;
              window.location = "epage.aspx?e=" + id;
              }     
  </code></pre>
  
  <p>but this does not , I even tried putting a TimeOut in there to wait for the grid to render , but still nothing.</p>
  
  <pre><code>            $(function () {
              setTimeout(
              $.each('.k-grid-ViewEvent', function () {
                  $(this).attr('target', '_blank');
                  var event = this.dataSource.getByUid(this.select().data("uid"));
                  var id = event.ID;
                  $(this).attr('href', id);
              }), 4000);
            });
  </code></pre>
  
  <p>Anyone have any idea how , preferrably in jQuery , but I don't really care how  , I can dynamically change these commands after they have been rendered with the Kendo Grid Plugin ?</p>