Hybrid View

  1. #1
    Sencha User
    Join Date
    Sep 2010
    Posts
    28
    Answers
    1
    Vote Rating
    0
    ultraman69 is on a distinguished road

      0  

    Default Answered: Toggling bewteen class dynamiclay

    Answered: Toggling bewteen class dynamiclay


    Hi !

    In the longpress event, I'm trying to apply a Panel's baseCls at runtime. Like this :

    Code:
    var bio = Ext.getCmp('panelBio02');
    
    
    if(Ext.is.Tablet || Ext.is.Desktop) {
        bio.setBaseCls = 'PanelBio';
    }else{
        bio.setBaseCls = 'PanelBioPhone';
    }
    Since it doesn't work, can anyone explain me how to do this ?

  2. bio.setBaseCls('PanelBio');
    bio.setBaseCls('PanelBioPhone');

  3. #2
    Sencha User
    Join Date
    Apr 2010
    Location
    China
    Posts
    227
    Answers
    64
    Vote Rating
    20
    haduki will become famous soon enough haduki will become famous soon enough

      0  

    Default


    bio.setBaseCls('PanelBio');
    bio.setBaseCls('PanelBioPhone');
    I write English by translator.

  4. #3
    Sencha User
    Join Date
    Sep 2010
    Posts
    28
    Answers
    1
    Vote Rating
    0
    ultraman69 is on a distinguished road

      0  

    Default


    Absolutely... I was way out on that one. I was trying to affect a property like in C#... but in reality it is a set method. Thanks !

Thread Participants: 1

Tags for this Thread

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar