extjs - how to put html page into ext js panel? -


i want put html ext js panel. have panel , using panel.body.update('html code here') method. when page size bigger panel size there no scrollbars see whole page. can fix it? or there other ways put html in ext js components?

try below :-

            {                 xtype : 'panel',                 id : 'agreement-content',                 html : "",                 cls : 'agreement-text'             } 

then can set html in panel below.

ext.getcmp('agreement-content').sethtml('your html content'); 

Comments

Popular posts from this blog

ruby - How do I merge two hashes into a hash of arrays? -

java - the value of local variable is not used -