1

Consider the following code snippet...

 this.destroy = function () {
    var grid= $("#gridObject").data("uiMyGrid");
    grid.destroy();
 }

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

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?

I am sure i am missing something here.. What is it?

4

0 回答 0