Html
HTML Code:
<html>
<head> <script src="extjs.js" /> </head>
<body>
<iframe id="myframe"> <div id="tree</div> <script> var tree = new parent.Ext.ux.tree.TreeGrid({ renderTo: "myframe#tree" columns: [{ header: 'Task', dataIndex: 'task', width: 230 }], dataUrl: 'data.php' }); </script> </iframe> </body>
</html>
I want create tree Grid and render to iframe.
But `renderTo: "myframe#tree"` say error `Cannot read property 'dom' of null`
I want user Ext js in `myframe` without load `extjs.js` again.how can use ext js parent from iframe?