1. #1
    Sencha User
    Join Date
    Apr 2012
    Posts
    4
    Vote Rating
    0
    Rajani is on a distinguished road

      0  

    Default adding new text message

    adding new text message


    Hi,

    {
    xtype:'combo',
    fieldLabel: LABEL_CONSOLIDATION_SEARCH_CRITERIA,
    name:'sc_id',
    id:'sc_id',
    width:402,
    displayField:'sc_name',
    valueField:'sc_name',
    store:['HR by Activity', 'HR by Team'],
    triggerAction:'all',
    value:'HR by Activity',
    mode:'local',
    forceSelection: true
    },

    After this i need to print a message like "EXAMPLE ......"

    how to display the above message after combo box in a form

    Thanks
    Rajani

  2. #2
    Sencha User
    Join Date
    Mar 2012
    Posts
    8
    Vote Rating
    0
    manuss is on a distinguished road

      0  

    Default


    I think you want to add a label after combo box. Try to create a box component and add it your panel .

    PHP Code:
    var myImage = new Ext.BoxComponent({
             
    id'Label',
             
    autoEl: {cn'BLAH BLAH BLAH'}
        }); 
    and use

    PHP Code:
    Ext.getCmp('Label').getEl().update('Guns n Roses'); 
    to update.

Thread Participants: 1