Results 1 to 5 of 5

Thread: Some insights on how to work with data stores on two different Lists

  1. #1
    Sencha User
    Join Date
    Sep 2011
    Posts
    51
    Answers
    2
    Vote Rating
    1
      0  

    Question Answered: Some insights on how to work with data stores on two different Lists

    Hey Guys

    I have 2 data stores.

    One contains a group of IDs

    The other contains values specific to individual IDs

    I already have 'completed' the list of individual IDs in terms of functionality and styling etc.

    Now, I have been asked to filter them according to the groups which they are in.

    So, the only piece of connecting data is the ID stored in an array within the groups store.

    My question is:

    Should I somehow re-construct the original list I had created for the individual IDs within an Ext.List for the Groups store, inside the onItemDisclosure function?

    Or should I try to filter them somehow?

    help please lol - im a bit confused


    Thanks


    Whiplash

  2. Got it sorted using filterBy function

  3. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,336
    Answers
    3885
    Vote Rating
    1297
      0  

    Default

    Stores can be grouped and list has a grouped config.
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it!

    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    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 services@sencha.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.

  4. #3
    Sencha User
    Join Date
    Sep 2011
    Posts
    51
    Answers
    2
    Vote Rating
    1
      0  

    Default

    cheers mitchell,

    hmm .. I'll have to get my thinking cap on

  5. #4
    Sencha User
    Join Date
    Sep 2011
    Posts
    51
    Answers
    2
    Vote Rating
    1
      0  

    Question

    I'm not having much luck with this one

    Is it possible to display data for one store but still giving access to another store within a List?

  6. #5
    Sencha User
    Join Date
    Sep 2011
    Posts
    51
    Answers
    2
    Vote Rating
    1
      0  

    Default

    Got it sorted using filterBy function

Posting Permissions

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