View Full Version : How Can I Update This HTML Property?

17 Dec 2010, 1:12 PM
I have a Viewport with several tabs including this one:

var reportsTab = {
title:'Reports', tbar:reportsToolbar, autoScroll:true, id:'reportstab',
items:[{xtype:'form ', border:false, html:reportPage, id:'reportpage'}]

Modifying reportPage doesn't have any effect. So how can I do it?

17 Dec 2010, 1:16 PM
How do you modify reportPage now?

17 Dec 2010, 4:20 PM
I don't currently modify it. I just pointed the html to the var in the tab declaration.

I found A solution tho:

Ext.getCmp("reportpage").html = reportPage;

"reportpage" is the form item in the tabpanel.