1. #1
    Sencha User
    Join Date
    Mar 2013
    Posts
    18
    Vote Rating
    0
    andyts93 is on a distinguished road

      0  

    Default Unanswered: Grid + RowExpander: Expand one row at time

    Unanswered: Grid + RowExpander: Expand one row at time


    Hi, I'm using RowExpander plugin and I want to expand one row at time, so when I click on a row all the other must collapse. I read this topic but beforeexpand event doesn't fire
    I tried this:
    Code:
    resultGrid.view.on('beforeexpand', function(expander, record, body, rowIndex){
        alert("OK");
    });
    And this:
    Code:
    resultGrid.on('beforeexpand', function(expander, record, body, rowIndex){
        alert("OK");
    });

  2. #2
    Touch Premium Member
    Join Date
    Feb 2011
    Location
    NJ
    Posts
    311
    Answers
    59
    Vote Rating
    52
    droessner is a jewel in the rough droessner is a jewel in the rough droessner is a jewel in the rough

      0  

    Default


    Try

    Code:
    resultGrid.view.on('expandbody', function(rowNode, record, expandRow, eOpts){
        alert("OK");
    });

  3. #3
    Sencha User
    Join Date
    Mar 2013
    Posts
    18
    Vote Rating
    0
    andyts93 is on a distinguished road

      0  

    Default


    expandbody works but if I want to collapse all the rows before expand one of them I have to use a sort of beforeexpand​, right?

    EDIT:
    I found this useful addon
    Last edited by andyts93; 6 May 2013 at 11:26 PM. Reason: Problem resolved

Thread Participants: 1

Tags for this Thread

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