3 Oct 2012 5:32 AM #1
Unanswered: LoadMask in loading image to Img component
I need to show "Loading image..." mask during update src property of Img component.
This code not show load mask:
certImg.setLoading('Loading image...'); certImg.setSrc('load_image.php?file_name=' + record.get('invoice_item_file')); certImg.setLoading(false);
certImg.setLoading('Loading image...'); certImg.setSrc('load_image.php?file_name=' + record.get('invoice_item_file'));
I also tried put certImg.setLoading(false) to afterrender Img event, the result was the same.
10 Oct 2012 8:54 AM #2
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
Does it show if you don't do the setSrc?Mitchell Simoens @LikelyMitch
Sencha Inc, Senior Software Engineer
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services firstname.lastname@example.org
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!
When posting code, please use BBCode's CODE tags.
7 Dec 2012 3:30 AM #3
11 Dec 2012 11:25 PM #4
Do not they come across?
Showing masking windos/progress bar is a like a standard situation...