18 Apr 2012 11:53 AM #1
Answered: How to hide LoadMask if Store.getCount() !== 0
I have a Tab.Panel with 5 tabs. I have a refresh function I call on activeitemchange of the tab panel so that each tab has fresh data. On a given tab, I could have 4 small dataviews/lists, which means I have 4 loading masks.
What is the best way to hide the load mask of all dataviews/lists if the store has data (albeit, old data), so the update appears to be invisible?
if you do
18 Apr 2012 1:16 PM #2
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
if you do
dataview.setLoadingText(false);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 email@example.com
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.
18 Aug 2012 5:41 AM #3