PDA

View Full Version : Display Images on Ext Js Panel



Prabhjot
17 Feb 2011, 3:32 PM
Hi, could any one please tell me how to display image on Ext JS panel

I know we can specify the html field to get the image when creating the panel. Is there a way to set the image on panel once the panel has been created

var panel = new Ext.Panel( {
.... //(currently displaying the image here)
});

//needs to display here

Thanks in advance.

Prabhjot
17 Feb 2011, 7:09 PM
got it..you can use panel.update() to save the image