PDA

View Full Version : How to set tab panel with dynamic HTML



rajoosho
3 Mar 2010, 1:41 AM
Hi ..

I Have a Tabpanel , and i want to show the content of tabpanel as some HTML text .

and also That HTML text contains Ext JS components ..

Can any one please help me on the same .

tryanDLS
3 Mar 2010, 8:48 AM
Start with the examples in your download. Then read http://extjs.com/learn/Ext_Forum_Help

rajoosho
3 Mar 2010, 9:07 AM
I tried both the forum and the examples ... Even though ..Havn't got any result .

In detail:

Adding a Tab to tabPanel and the data( which is the HTML containing EXTJS component)


tabs.add({
id:tabTitle,
title: tabTitle ,
iconCls: 'tabs',
height:500,
html:data,
scripts:true,
closable:closableflag
}).show();


If i will paste data in html file and try to open it works fine ..
Issue is when i am trying to set this data to tab ..

It is not working .

Can someone please help..