-
31 Jan 2013 2:10 AM #1
Unanswered: Ext.Img not displayed in the grid docked items if no available in Chrome's cache
Unanswered: Ext.Img not displayed in the grid docked items if no available in Chrome's cache
Hi All,
We've run into an issue where Ext.Image is located in docked items of a grid does not show up if the page is loaded after clearing the cache. When the page gets reloaded the image is shown properly. It looks as if there was some kind of initialization issue where initially Ext.Img does not have the image loaded and even though the image is loaded afterwards and it or the docked items do not reflect that by rendering it.
Any idea how to fix or workaround it?
Regards,
Bartek
-
31 Jan 2013 3:27 AM #2Sencha - Ext JS Dev Team
- Join Date
- Apr 2007
- Location
- Sydney, Australia
- Posts
- 15,067
- Vote Rating
- 96
- Answers
- 166
You either need to:
a) Give the image dimensions so it knows the size
b) Wait until the image loads so it knows the size
Otherwise, when the layout runs the image will just be 0x0 pixels and won't have the correct size.Evan Trimboli
Sencha Developer
Twitter - @evantrimboli
Don't be afraid of the source code!


Reply With Quote