PDA

View Full Version : Pop Up window has different style that of the parent form.



Anand_k
13 Oct 2009, 10:37 AM
Hi,

I have a panel, which when clicking on a button should open a new pop up window. But the new pop up window opened has diffetent stlye that that of the form. Is there any way to refer the common css file in the new pop up window?

Im new to EXTJS. Please help.


newElectionWindow = new Ext.Window({
id: 'newElectionWin',
title:'New Election',
layout:'fit',
width:750,
height:500,
//closeAction:'hide',
plain: true,
modal:true,
items:[newElectionform],
buttons: [{
text:'Save',
handler: function(){
newElectionWindow.hide();
}
},{
text: 'Cancel',
handler: function(){
newElectionWindow.hide();
}
}]
});


Thanks in advance.

29 Oct 2009, 5:30 AM
What do you mean by "different style" ?