Answered: How to render an image dynamically?
I need to re-render an image (Ext.Image) after some events.
I found `doComponentLayout` function but it didn't work for me unfortunately.
How can I re-render an image which is an item of form?
Thanks in advance..
Posted by skirtle
I'm still pretty unclear what the question is here. For example, you might mean...
Originally Posted by talha06
- Load a different image URL.
- Reload the same image URL but a different image.
- Resize the image component.
To load a new image just use setSrc. To reload the same image the easiest way is to append a dummy parameter onto the URL.
Tags for this Thread