Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8551283
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T14:09:47+00:00 2026-06-11T14:09:47+00:00

I am using ext js to populate my two combo boxes. I want the

  • 0

I am using ext js to populate my two combo boxes. I want the value of combobox2 to change dynamically when an item is selected in combobox1. So far I have managed to get the contents that I want in the combobox2 which is in the required format.

For example:

This is what I am doing for this purpose:

 ddlLocation.on('select', function (box, record, index) {

    PageMethods.getAllBanksList(ddlLocation.getValue(), function (banks) {
        ddlBank.banksArray = banks;    //this is the assignment part
                                       //Bank returns the formatted string


    }, GenericErrorHandler);

});

this is my ddlBank combobox:

ddlBank = new Ext.form.ComboBox({
    fieldLabel: 'Bank',
    labelStyle: 'width:130px',
    id: 'ddlBank',
    store: banksArray,
    mode: 'local',
    editable: false,
    triggerAction: 'all',
    value: banksArray[0][0]
});

It changes nothing on the assignment, Also it does not refreshes or even cleans out the values of the dropdown?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T14:09:48+00:00Added an answer on June 11, 2026 at 2:09 pm

    This looks like what you are looking for.

    http://www.sencha.com/forum/showthread.php?184207-Controlling-one-combobox-by-selection-of-another-combobox

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need to dynamically populate a form from fields in a database using EXT
I have two dependent combo-boxes and the value of second one is populated after
i want to submit a form using Ext.Direct and iam following all the guidelines
ExtJS Charts, I am using an Ext column chart and I want to implement
This the model that I want to create using json file Ext.define('Users', { extend:
I am using Ext.view.View for my data view. When I select one item 'selectionchange'
I am using GWT-RPC to populate Ext-GWT TreeGrids with data from a server. I
I want to populate the combobox dynamically based on the data I received from
I am making a sequence of Ajax calls using the Ext.Direct module. I want
I am new to ExtJs 4.I am using Json to populate combo box,as follows,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.