Too much Recursion calling a method of the same name
<p>Consider the following code snippet...</p>

<pre><code> this.destroy = function () {
    var grid= $("#gridObject").data("uiMyGrid");
    grid.destroy();
 }
</code></pre>

<p>When i call .destroy() on the parent object it seems to be going into a recursive loop. (Too much recursion).</p>

<p>I debugged a while and notice it is calling itself rather than the grid objects destroy method? How can i make it call the grid destroy?   </p>

<p>I am sure i am missing something here.. What is it?         </p>
