Forum /
Sencha Touch 2.x Forums /
Sencha Touch 2.x: Q&A /
Sencha - Support Team
Answered: List getStore()?
Answered: List getStore()?
I'm not seeing a 'store' property for the List component or a getStore() accessor. What is the right way to get the store of an initialized List? I'm seeing _store. Is that the right accessor to use to get the List's store?
Best Answer Posted by
Schildi
Hi slemmon,
where did you look it up?
In the docs there is a getStore() method on the list component
http://docs.sencha.com/touch/2-1/#!/...ethod-getStore
And it says that this is available since Touch 1.1.
Maybe in your docs, you have enabled that inherited methods and properties are not visible?
Best regards,
Schildi
I'm not sure which list you're using?
http://docs.sencha.com/touch/2-1/#!/....dataview.List
The above list has a store property and a getStore() accessor. Hope that helps .
Hi slemmon,
where did you look it up?
In the docs there is a getStore() method on the list component
http://docs.sencha.com/touch/2-1/#!/...ethod-getStore
And it says that this is available since Touch 1.1.
Maybe in your docs, you have enabled that inherited methods and properties are not visible?
Best regards,
Schildi
Sencha - Support Team
Sure enough - right there. Yup, had unchecked the accessors checkbox and didn't even realize it.... was hoping it was something simple and there you have it.
Thanks for the pointer.
Sencha is used by over two million developers. Join the community, wherever you’d like that community to be
or Join Us