1. #1
    Sencha User
    Join Date
    Oct 2012
    Location
    India
    Posts
    15
    Answers
    1
    Vote Rating
    1
    saurabh0683 is on a distinguished road

      0  

    Default Answered: making Grid autosroll not working

    Answered: making Grid autosroll not working


    Hi,

    I wanted to make grid autoscroll and here is the code snippet i wrote:
    // some code...
    Grid<Task> grid = new Grid<Task>(store, model);
    grid.getElement().setScrollTop(30);
    // some code...

    same thing works for ListView but not with Grid. Any suggestions??

  2. my mistake
    found solution:

    grid.addBodyScrollHandler(new BodyScrollHandler() {
    public void onBodyScroll(BodyScrollEvent event) {
    grid2.getView().getScroller().setScrollTop(event.getScrollTop());
    }
    });

  3. #2
    Sencha User
    Join Date
    Oct 2012
    Location
    India
    Posts
    15
    Answers
    1
    Vote Rating
    1
    saurabh0683 is on a distinguished road

      0  

    Default


    my mistake
    found solution:

    grid.addBodyScrollHandler(new BodyScrollHandler() {
    public void onBodyScroll(BodyScrollEvent event) {
    grid2.getView().getScroller().setScrollTop(event.getScrollTop());
    }
    });

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