Results 1 to 2 of 2

Thread: labelSeparator in checkboxgroup

  1. #1
    Sencha User
    Join Date
    Apr 2011
    Location
    London
    Posts
    10

    Default labelSeparator in checkboxgroup

    Hi all,
    we want to use labelSeparator in checkboxgroup in ExtJS 4 but we could not use. So, could you inform me please if it is possible or not? Here is what we have tried below:

    Code:
    {
                        xtype : 'fieldset',
                        collapsible : false,
                        title : '',
                        autoHeight : true,
                        defaultType : 'textfield',
                        width : 100,
                        collapsed : false,
                        items : [                    
                        {
                            xtype: 'checkboxgroup', hideLabel: true, vertical: true, columns: 1,
                            items: [
                                {
                                boxLabel : 'myLabel',
                                id : 'myId',
                                name : 'myId'
                                labelSeparator : "<img src='img/help.gif' title='"+ 'Help' + "'/>"
    
                            }]
                        }                
                        ]
                    }
    Thanks in advance...

  2. #2
    Sencha User sword-it's Avatar
    Join Date
    May 2012
    Location
    Istanbul
    Posts
    1,335
    Answers
    124

    Default

    Hi jhudaverdi,


    Try this code -
    Code:
     items : [ 
                      { 
                           xtype: 'checkboxgroup',
                           hideLabel: true,
                           vertical: true, 
                           columns: 1, 
                           items: [ 
                               {
                        boxLabel : 'myLabel<img src="img/help.gif" title="'+ Help +'"/>',                                           id : 'myId',
                         name : 'myId'
                            }] 
                       }     
       ]
    sword-it.com, Sencha Developer House in Turkey - Istanbul University Technopark Suite 204.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •