title: Kendo UI Grid post rendered or post databound event?
body: <p>Is there a way to trigger an event after grid has been reloaded via ajax? </p>
  
  <p>i see the <strong>RequestEnd</strong> event. but that seems to happen when the request returned, but before the grid has been refreshed. </p>
  
  <p>i also see <strong>DataBound</strong> event. but that happens even earlier than RequestEnd,<br>
  also when i implement DataBound event, my header disappears.. </p>
  
  <p>i had to resort to this hack </p>
  
  <pre class="lang-js prettyprint-override"><code>function requestEnd(o) {
      console.debug('request ended.', o);
      setTimeout(refreshEditable, 500); // enough time to render the grid
  }
  function refreshEditable() {
      // perform my actions on controls within grid content
  }
  </code></pre>
  
  <p>as a side note.. I am having a very hard time finding a reliable kendo grid mvc API reference. when i google for it, i get this: 
  <a href="http://docs.telerik.com/kendo-ui/getting-started/using-kendo-with/aspnet-mvc/migration/widgets/grid">http://docs.telerik.com/kendo-ui/getting-started/using-kendo-with/aspnet-mvc/migration/widgets/grid</a>
  which is a collection of little how-to and some "Events" but those don't correspond to what I am seeing in razor intelisense. </p>
  
  <p><strong>update</strong>:  adding databound definition</p>
  
  <pre><code>    $('#grid').kendoGrid({
          dataBound: function(e) {
              console.debug('data bound..');
          }
      });
  </code></pre>
  
  <p>and here's grid ajax definition</p>
  
  <pre><code>   .Ajax().Read(read =&gt; read
          .Action("FilesRead", "SomeController")
          .Data("readData"))
  
   function readData() {
      return {
          IncludeChildren: $("#IncludeChildren").is(':checked'),
          SearchString: $('input[id=SearchString]').val()
      };
   }
  </code></pre>
  
  <p>i can see that DataBound is triggered while making the ajax call, not after it comes back. </p>
  
  <p><strong>update</strong> </p>
  
  <p>corrected the DataBound event hook. </p>
  
  <p>in dataBound function, i'm trying to get a reference to newly rendered templates.. </p>
  
  <pre><code>function dataBound(o) {
    console.debug($('span.editable').length);                    // returns 0 
    setTimeout("console.debug($('span.editable').length)", 500); // returns 4
  }
  </code></pre>
  
  <p>the spans are added using a client template</p>
  
  <pre><code>.ClientTemplate(@"&lt;span class=""editable"" ... &gt;#=DOCUMENT_DATE_FORMATTED#&lt;/span&gt;");
  </code></pre>
  
  <p>see what i mean? data bound happens before grid is rendered </p>