Results 1 to 2 of 2

Thread: Extjs Checkbox - help needed

  1. #1
    Sencha User
    Join Date
    Jun 2011
    Location
    Bangalore, India
    Posts
    180
    Answers
    4

    Default Answered: Extjs Checkbox - help needed

    Hi


    In extjs checkbox, first checkbox will appear and text will appear after that

    please refer this image

    [email protected]_20120319_201305.png

    Code:
    var eolCheck             ={
        
            xtype: 'fieldcontainer',
            id    : 'eolCheck',
            defaultType: 'checkboxfield',
            items: 
            [
                {
                    boxLabel  : 'End of Life(EOL) only',
                    name      : 'eol',
                    inputValue: '1',
                    id        : 'eol'
                }
            ]
        }
    But i want to display label first and then check box.


    can you guys help me how to fix this?
    Thanks,

    RENGANATHAN M G

  2. Have a look at boxLabelAlign
    Code:
    {
    	boxLabel  : 'End of Life(EOL) only',
            boxLabelAlign: 'before',
    	name      : 'eol',
    	inputValue: '1',
    	id        : 'eol'
    }

  3. #2
    Sencha User
    Join Date
    Jan 2012
    Posts
    1,376
    Answers
    347

    Default

    Have a look at boxLabelAlign
    Code:
    {
    	boxLabel  : 'End of Life(EOL) only',
            boxLabelAlign: 'before',
    	name      : 'eol',
    	inputValue: '1',
    	id        : 'eol'
    }

Posting Permissions

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