1. #1
    Sencha User
    Join Date
    Mar 2011
    Posts
    63
    Vote Rating
    0
    jorgeluislay is an unknown quantity at this point

      0  

    Default According to record setting visivility of some rowActionButtons

    According to record setting visivility of some rowActionButtons


    Im trying to change the visibility of some rowAtions i habe in my grid but i cant to this.

    My record has different state ( "NEW" or "DELETED" or "SOMETHING ELSE") and according to this state from the response i want to show rowactions in the singel line in a grid.

    State: --------------------------- Name: ------------------ ACTIONS:

    'NEW' -------------------------- jorge ----------- |Action(1) | Action(2) | Action(3) |
    'DELETED'-------------------- jorge-------------|Action(1) |-------------| Action(3) |
    'SOMETHING ELSE' -------- jorge ------------|------------ | Action(2) |------------ |

    how can i do this ?? (this is a grid.. with the actions i want to show.. )

  2. #2
    Sencha User
    Join Date
    Mar 2011
    Posts
    63
    Vote Rating
    0
    jorgeluislay is an unknown quantity at this point

      0  

    Default


    So i didnt find a solution for this problem yet.

    Grid plus Buttons. Would be that a soulution ?

    With:

    if (record.state == "NEW"){
    Ext.getCmp("buttonSateNew").button().enable();
    Ext.getCmp("buttonSateDeleted").button().disnable();
    }
    else if (record.state == "DELETED"){
    Ext.getCmp("buttonSateNew").button().disnable();
    Ext.getCmp("buttonSateDeleted").button().ennable();
    }
    else {
    Ext.getCmp("buttonSateNew").button().disnable();
    Ext.getCmp("buttonSateDeleted").button().disnable();
    }

    or another solution maybe ? i want it with saski rowaction buttons.

  3. #3
    Sencha User
    Join Date
    Mar 2011
    Posts
    63
    Vote Rating
    0
    jorgeluislay is an unknown quantity at this point

      0  

    Default


    I almost got it. This example works for me very good doing a dynamicly grid depending on the store:

    http://www.rahulsingla.com/blog/2011...dpanel-columns

    When i put some more buttons, than i dont get them one after another.

    Someone expiriancing this issue ?

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