I have a GridPanel which is completely ready and working. It is currently rendered to the DOM by calling the `render(id)` method of `Ext.grid.GridPanel`.

This results in the GridPanel beeing rendered right before the html element with the given id.

For programming in my API i now need the rendered HTML of the table in my JavaScript to pass it to another function which can just act on HTML code and i can't change it for compatibility reasons. So the render function doesn't return anything and i don't know how to get the html or at least a reference to the DOM-node of the rendered HTML in JavaScript.

any suggestions?