View Full Version : diplayaing check box in the LOV of combo box

kamalakarreddy vancha
13 Oct 2014, 4:47 AM
Here i created a combo box with check boxes....
It's displaying properly..
But In combo_check1.PNG..
just am clicking on the particular value then value not on check box its displaying value on the combo box but
check box is not selecting..
after that
if click on check box then value are removing from the combo box(combo_check_box2.PNG).
This issue am facing.
Here is my code of combo box...

xtype: 'combobox', //9
fieldLabel: 'Combobox',
displayField: 'name',
tpl:new Ext.XTemplate('<tpl for=".">',
'<div class="x-boundlist-item">',
'<input type="checkbox" />',
store: Ext.create('Ext.data.Store', {
fields: [{
type: 'string',
name: 'name'
data: [{
"name": "Alabama"
}, {
"name": "Alaska"
}, {
"name": "Arkansas"
}, {
"name": "California"
queryMode: 'local'

Help me in this...

Thanks In Advance
Kamalakar Reddy

14 Oct 2014, 4:45 PM

kamalakarreddy vancha
14 Oct 2014, 8:39 PM
now it's working fine........

kamalakarreddy vancha
15 Oct 2014, 9:52 PM
the code which is given by you working fine...
but when i use the same code in my application...

am opening the check box, it is displaying the list of values. From this am selecting the check boxes then it is displaying
the values in the combo box.
Up to now it is fine.
After that...
if i open the same combo box it is looking like Image(CAPTURE PNG).
Selected values are displaying in the combo box but check boxes are unchecked....
Means in my application combo box list of values coming from DB.
Then it is showing loading mask....
after completion of loading mask only check boxes are unchecking and values are displaying in combo box.
Help me in this....

Thanks In Advance
Kamalakar Reddy V