Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12

Thread: How to add an empty value to ComboBox

  1. #11
    Sencha User
    Join Date
    May 2014
    Posts
    32
    Vote Rating
    0
      0  

    Default Dynamically adding items to drop down list of combo box.

    How to add items to the drop down list based on the selection of the item from the drop down list of other combo box? For Example, if in country combo box, USA is selected then it State combo box california, Texas should be displayed in its drop down list or if India is selected from country combo box then in State combo box drop down list, there should be states of India.

    How to do this in Sencha Architect? I am using three stores, one for first combo, second for USA States and third for INDIA States.

    Can you help in this?

  2. #12
    Sencha User
    Join Date
    Aug 2014
    Posts
    3
    Vote Rating
    0
      0  

    Default

    A solution is to add a clear trigger when the combobox has a value. The other solution is to add an empty row to the data store backing the combobox, usually as the first record.

Page 2 of 2 FirstFirst 12

Posting Permissions

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