PDA

View Full Version : Extjs Checkbox - help needed



renganathan
19 Mar 2012, 6:46 AM
Hi


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

please refer this image

32898



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?

vietits
19 Mar 2012, 6:52 AM
Have a look at boxLabelAlign


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