Results 1 to 4 of 4

Thread: diplayaing check box in the LOV of combo box

  1. #1

    Default diplayaing check box in the LOV of combo box

    Hi...
    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',
    labelAlign:'right',
    displayField: 'name',
    multiSelect:true,
    tpl:new Ext.XTemplate('<tpl for=".">',
    '<div class="x-boundlist-item">',
    '<input type="checkbox" />',
    '{name}',
    '</div>',
    '</tpl>'
    ),
    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
    Attached Images Attached Images

  2. #2
    Sencha User
    Join Date
    Mar 2009
    Location
    Boise, ID
    Posts
    6,165
    Answers
    505

    Default


  3. #3

    Default

    Thanks......
    now it's working fine........

  4. #4

    Default

    hi.....
    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
    Attached Images Attached Images

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
  •