1. #1
    Sencha User thenevermore's Avatar
    Join Date
    Nov 2012
    Location
    Bandung , Indonesia
    Posts
    10
    Vote Rating
    0
    thenevermore is on a distinguished road

      0  

    Default Answered: [ASK] Is possible to change xtype via function..?

    Answered: [ASK] Is possible to change xtype via function..?


    Dear all ,
    i want to ask you something,

    i have a session's item. if session is not empty then mymodule's xtype is changed..
    is that possible..?


    here's the example :
    Code:
    $beksit = $_SESSION['idbacksheet'];
    
    skip..skip..skip..
    
    doCekBeksit: function(){
                    var nobeksit = '$beksit';
                    if(nobeksit <> '')
                    {
                    nfp.form.findField('$ModuleName'+'textBS1').xtype = 'hidden';
                    nfp.form.findField('$ModuleName'+'textBS2').xtype = 'hidden';    
                    }
                    else
                    {
                    nfp.form.findField('$ModuleName'+'_bukaloket').xtype = 'hidden';
                    }
                }
    Regards

    Nice To Meet You All
    1 second ago · Like · Add as Friend





    Thanks for Visiting My thread?

  2. No, you can't. Instead, just hide the field using the hide method.

  3. #2
    Sencha - Ext JS Dev Team evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    16,834
    Answers
    453
    Vote Rating
    609
    evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute

      0  

    Default


    No, you can't. Instead, just hide the field using the hide method.
    Evan Trimboli
    Sencha Developer
    Twitter - @evantrimboli
    Don't be afraid of the source code!

  4. #3
    Sencha User thenevermore's Avatar
    Join Date
    Nov 2012
    Location
    Bandung , Indonesia
    Posts
    10
    Vote Rating
    0
    thenevermore is on a distinguished road

      0  

    Default


    Quote Originally Posted by evant View Post
    No, you can't. Instead, just hide the field using the hide method.
    Thanks evant,
    that's worked,,


Thread Participants: 1

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