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

c++ - Do gcc's __float128 floating point numbers take the current rounding mode into account? -

java - the value of local variable is not used -