1. #1
    Sencha - Support Team slemmon's Avatar
    Join Date
    Mar 2009
    Location
    Boise, ID
    Posts
    5,369
    Answers
    432
    Vote Rating
    200
    slemmon has much to be proud of slemmon has much to be proud of slemmon has much to be proud of slemmon has much to be proud of slemmon has much to be proud of slemmon has much to be proud of slemmon has much to be proud of slemmon has much to be proud of

      0  

    Default 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?

  2. 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

  3. #2
    Sencha Premium Member
    Join Date
    Sep 2012
    Location
    The Netherlands
    Posts
    79
    Answers
    7
    Vote Rating
    4
    zwikske is on a distinguished road

      0  

    Default


    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 .

  4. #3
    Sencha User
    Join Date
    Mar 2011
    Posts
    83
    Answers
    16
    Vote Rating
    11
    Schildi will become famous soon enough

      0  

    Default


    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

  5. #4
    Sencha - Support Team slemmon's Avatar
    Join Date
    Mar 2009
    Location
    Boise, ID
    Posts
    5,369
    Answers
    432
    Vote Rating
    200
    slemmon has much to be proud of slemmon has much to be proud of slemmon has much to be proud of slemmon has much to be proud of slemmon has much to be proud of slemmon has much to be proud of slemmon has much to be proud of slemmon has much to be proud of

      0  

    Default


    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.

Thread Participants: 2