Results 1 to 3 of 3

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

  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 User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,062
    Answers
    3976
    Vote Rating
    1391
      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
    Modus Create, Senior Frontend Engineer
    ________________
    Need any sort of Ext JS help? Modus Create is here to help!

    Check out my GitHub:
    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
  •