Ext.TabPanel html help...
Posted
by Simon
on Stack Overflow
See other posts from Stack Overflow
or by Simon
Published on 2010-05-10T22:08:43Z
Indexed on
2010/05/10
22:14 UTC
Read the original article
Hit count: 332
extjs
add({
title: args.node.id,
iconCls: 'tabs',
items: [{html: '<code class="prettyprint"><?php\necho \'Hello World!\';</code>', width: '100%', hieght: '100%', plain: true}],
closable: true
}).show();
I am running the above method on Ext.TabPanel and it is returning '' as the html...
If I do
<code class="prettyprint"><html><head><title>Whatever</title></head><body.The body!</body></html></code>
It just renders The body!
... how can I get it to display the source code??
Many thanks...
© Stack Overflow or respective owner