GraphReportPanel = function (config, initData) {
GraphReportPanel.instance = this;
this.graphPanel = new Ext.Container({
id : 'graphPanelId'
});
GraphReportPanel.superclass.constructor.call(this, {
title : 'Graph',
autoScroll: true,
id : 'graphReportPanel',
items: [this.graphPanel],
collapsible : false
});
};
I have created GraphReportPanel . Now when i use the following code
Ext.getCmp('graphPanelId').el.dom.innerHTML = '';
I get Ext.getCmp('graphPanelId').el
as undefined . Why is it so?