Results 1 to 3 of 3

Thread: What is the best way to filter one carousel based on data from another?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Sencha User davisty's Avatar
    Join Date
    Mar 2010
    Location
    Spanish Fort, Al
    Posts
    285
    Answers
    11
    Vote Rating
    -9
      0  

    Default Answered: What is the best way to filter one carousel based on data from another?

    Hello,

    I have two carousel's. One with categories and one with detail information.

    Im trying to filter the second(detail) carousel based upon the active item of the first.


    Code:
    bolItem = active;
    
    cntStore.filter('MCRTIT', bolItem);
    
    
    
    carousel3.doLayout();
    
    


    It appears to be filtering correctly, but is not rebuilding the carousel.

    Any suggestions?

    Thank You in Advance

  2. There is no built in binding between a carousel and store so you would have to add listeners to the store to rebuilt the carousel.

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

    Default

    There is no built in binding between a carousel and store so you would have to add listeners to the store to rebuilt the carousel.
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

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

  4. #3
    Sencha User davisty's Avatar
    Join Date
    Mar 2010
    Location
    Spanish Fort, Al
    Posts
    285
    Answers
    11
    Vote Rating
    -9
      0  

    Default

    Thank You,

    Would a simple store.load() accomplish this?

Posting Permissions

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