1. #1
    Ext JS Premium Member
    Join Date
    Nov 2011
    Posts
    14
    Vote Rating
    0
    novosmt is on a distinguished road

      0  

    Default Ext.dataview.List

    Ext.dataview.List


    I currently have a List that changes the ActiveItem of a carousel when an item in a List is tapped. This works great. (except for the animateActiveItems animation params are not supported for carousels)

    pageList = Ext.create("POS.view.PageList", {
    listeners: {
    select: function(view, record) {
    var pageIndex = Number(record.get("pageNumber"));
    contentCarousel.animateActiveItem(pageIndex-1);
    }
    }
    });

    In reverse, I would like to programmaticly change the selected List item when the carouse gets swiped. I have tried pageList.setRecord, pageList.setItemId with no luck.

    Any Thoughts?

    -steve

  2. #2
    Ext JS Premium Member
    Join Date
    Nov 2011
    Posts
    14
    Vote Rating
    0
    novosmt is on a distinguished road

      0  

    Default Resolved

    Resolved


    I was able to resolve this using the .select() method.

    contentCarousel = Ext.create("POS.view.Content", {
    direction: 'horizontal',
    listeners: {
    activeitemchange: function(container, newValue, oldValue, eOpts) {
    var listIndex = Number(container.activeIndex);
    pageList.select(listIndex);
    }
    }
    });

    -steve

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi