Gelmiş geçmiş en büyük porno sitemiz olan 2pe de her zaman en kaliteli pornoları sunmayı hedefledik. Diğer video sitemiz olan vuam da ise hd porno ağırlıklı çalışmalara başladık.

  1. #1
    Sencha User
    Join Date
    Jul 2012
    Posts
    17
    Vote Rating
    0
    shobhaaradhya is on a distinguished road

      0  

    Default Unanswered: How to get fieldlabel of combo in javascript

    Unanswered: How to get fieldlabel of combo in javascript


    Hi,

    My script for combo in extjs is

    {
    xtype: 'combo',
    fieldLabel: 'Select Country',
    anchor: '39%',
    allowBlank: true,
    validateOnBlur: true,
    name: 'Country',
    listEmptyText: 'Please Select country',
    emptyText: 'Please Select country',
    selectOnFocus: false,
    store: 'dcountry',
    vtypeText: 'Please Select country',
    resizable: true,
    mode: 'local',
    valueField: 'id',
    displayField: 'description',
    loadingText: 'Loading countries...',
    forceSelection: true,
    triggerAction: 'all',
    labelStyle: 'width:160px',
    hiddenName: 'Country',
    hidden: true,
    hideLabel: true,
    id: 'cntry',

    }

    Here i am trying to hide or show the combo and the label based on some condition.

    the code is

    Ext.getCmp('cntry').hide();
    Ext.getCmp('cntry').show();

    this hides/shows only the combo but not the lablefield.

    how can I get do this?

    Thanks in advance,
    Aradhya

  2. #2
    Sencha - Community Support Team sword-it's Avatar
    Join Date
    May 2012
    Location
    Istanbul
    Posts
    1,333
    Answers
    124
    Vote Rating
    85
    sword-it is a jewel in the rough sword-it is a jewel in the rough sword-it is a jewel in the rough sword-it is a jewel in the rough

      0  

    Default


    Hi
    You can wrap your combo into a container and show or hide your container according to your need.
    sword-it.com, Sencha Developer House in Turkey - Istanbul University Technopark Suite 204.

Thread Participants: 1

Tags for this Thread