Results 1 to 4 of 4

Thread: List getStore()?

  1. #1
    Sencha - Support Team slemmon's Avatar
    Join Date
    Mar 2009
    Location
    Boise, ID
    Posts
    6,154
    Answers
    501
    Vote Rating
    247
      0  

    Default 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
    90
    Answers
    8
    Vote Rating
    4
      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
      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
    6,154
    Answers
    501
    Vote Rating
    247
      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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •