title: How do I execute code after koGrid completely renders?
body: <p>I am working with kogrid.  I want to apply a tooltip to every cell in a specific column, based on the data in that column.  My problem is finding exactly when/where to place my tooltip jquery:</p>
  
  <pre><code>$('[data-toggle="tooltip"]').tooltip();
  </code></pre>
  
  <p>The colDef that I am using is:</p>
  
  <pre><code>var myCol = {
      headerClass: 'koGridCentered',
      displayName: 'My Display',
      field: 'RootError',
      cellTemplate: '&lt;div style="margin-top: 3px;" &gt;' +
          '&lt;div data-bind=" attr: { \'class\': \'kgCellText colt\' + $index() }"&gt;' +
              '&lt;a href="#" data-toggle="tooltip" data-bind=" attr: { \'title\': $data.getProperty($parent) }, html: $data.getProperty($parent)"&gt;&lt;/a&gt;' +
          '&lt;/div&gt;' +
      '&lt;/div&gt;',
      sortable: true, resizeable: true
  }
  </code></pre>
  
  <p>The data is returned from an ajax request.  I have tried placing the jquery into an axaxStop block:</p>
  
  <pre><code>$(document).ajaxStop(function() {
      $('[data-toggle="tooltip"]').tooltip();
  }
  </code></pre>
  
  <p>But this is called prior to kogrid rendering all of it's rows.</p>
  
  <p>I have resorted to using setTimeout and simply delaying for X milliseconds and then applying the tooltip, and this works, but it feels like a hack.  </p>
  
  <pre><code>$(document).ajaxStop(function() {
      setTimeout(function() {
          $('[data-toggle="tooltip"]').tooltip();
      }, 10);
  });
  </code></pre>
  
  <p>I have also tried calling the tooltip after pushing my data into my viewmodel.</p>
  
  <pre><code>for (var i = 1; i &lt; data.length; ++i) {
      _this.SharedViewModel.MyCollection.push(ko.mapping.fromJS(data[i]));
  }
  $('[data-toggle="tooltip"]').tooltip();
  </code></pre>
  
  <p>This ends up applying the tooltip to the first approx 7 rows and not to the remaining rows.</p>
  
  <p>What I am really looking for is a way to access some kogrid event that fires when the grid has completely rendered.  I have searched for this and haven't come up with anything, so I'm asking the community.</p>
  
  <p>There is one other minor issue I noticed, which is that my tooltip is hidden under the kogrid cell above it.  But this is minor and I'm hoping to solve with a z-index.</p>