I’m working with some old Sencha Touch code, written in old-style JavaScript, that I’m trying to clean up. It’s too easy with this code to simply misspell a variable and not see the error, because nothing is being flagged as global or undefined. I’m trying to use ESLint to address this problem. ESLint is effectively finding other problems, like var
Tag: sencha-touch
extjs combo box getCount() on store returns 0
I am trying to get the number of items in the combo box so that I can make the first value by default visible in the combo box using the getCount() method but I see it always return 0 so cannot get the first item to be displayed in the combo box. Code for my combo box is as shown
How to completely hide the dockedItems toolbar
I’m able to hide items among the dockedItems of a TabPanel, but am wanting to temporarily hide the entire dock, because the toolbar itself still takes up space and the rest of the content does not fill the screen. So far, I do like so: Alternatively: But neither removes the dockedItems toolbar itself. I’ve even tried to give the dockedItems