PDA

View Full Version : Using styleHtmlContent , and dynamically adding components in afterRender



qbert65536
10 Feb 2011, 9:49 AM
I have a panel that I want mostly HTML, but I'd like to be able to grab a <div> with a given ID and replace it with a Component , in particular I want to wrap an HTML table I have because it is too large for the screen, and the scrolling isn't working with overflow: , or iframe: .

Is this doable ? I've tried Ext.get('test').replace* , insert* and friends but nothing appears to happen.

This is using the latest release on chrome.