JavaScript ExtJS filter ComboBox dynamically extjs filter combobox,extjs filter combobox store,extjs combobox filter

I have a property grid with multiple comboboxes and I want to filter the values in one box based on what is selected in the previous box.

My code looks like this:

var tempPropGrid = me.getView().add(
    {
        xtype:'propertygrid',
        width: 80,
        header: false,
        title: 'prop grid',
        //for some reason the headers are not hiding, we may need to deal with this using CSS
        //hideHeaders: true,
        enableColumnResize: false,
        sortableColumns: false,
        nameColumnWidth: 1,
        source: record.data,
        sourceConfig: {
            teamName: {
                editor: Ext.create('Ext.form.ComboBox', {
                    store: teams,
                    queryMode: 'local',
                    displayField: 'teamName',
                    valueField: 'teamName'
                }),
                displayName: 'Team'
            },
            leadDev : {
                editor: Ext.create('Ext.form.ComboBox', {
                    store: teamMembers.filter('teamName', teamName.value), // this probably won't work but you get the idea
                    queryMode: 'local',
                    displayField: 'personName',
                    valueField: 'personName'
                }),
                displayName: 'Lead Dev'
            },

and my JSON object looks like this:

{
                    "periodName": "Week1",
                    "teamName": "tango",
                    "roleName": "SWE III",
                    "roleExperience": "3",
                    "id": "21ea7f61-a9a5-4dbd-b405-e7a0449f8096"
                },

So essentially I am assigning a project to a team, and then based on which team I choose I want to select a leadDev based on them being in that team.

I am not sure how to pluck the value of a combo box and apply a filter dynamically so any help would be great.

Answer:1

My angular is 1.0.8-stable My objective is to display data in rows of 3. My html should look like <div class="table-row"> <div class="item">item1</div> <div class="item"...

My angular is 1.0.8-stable My objective is to display data in rows of 3. My html should look like <div class="table-row"> <div class="item">item1</div> <div class="item"...

I just came across the following line of code in one of the Windows Store Apps samples. if (that.assets[asset].object === null || !!!that.assets[asset].object.canPlayType) { It uses a triple ...

I just came across the following line of code in one of the Windows Store Apps samples. if (that.assets[asset].object === null || !!!that.assets[asset].object.canPlayType) { It uses a triple ...

  1. what does ���� mean
  2. what does smh mean
  3. what does boomer mean
  4. what does ok boomer mean
  5. what does the fox say
  6. what does simp mean
  7. what does sos mean
  8. what does dna stand for
  9. what does noel mean
  10. what does asl mean
  11. what does ig mean
  12. what does gap stand for
  13. what does otp mean
  14. what does uwu mean
  15. what does mean
  16. what does goat mean
  17. what does bomboclaat mean
  18. what does pansexual mean
  19. what does woke mean
  20. what does ion mean

I'm sending an ajax request with relative url $.post("wp-content/themes/site/function.php", { }, function (data) {}); It's working fine if my url is http://yourdomain.com/page. But if the url ...

I'm sending an ajax request with relative url $.post("wp-content/themes/site/function.php", { }, function (data) {}); It's working fine if my url is http://yourdomain.com/page. But if the url ...

  1. relative frequency
  2. relative dating
  3. relative pronouns
  4. relative humidity
  5. relatively
  6. relative clause
  7. relative location
  8. relative insanity
  9. relative definition
  10. relative finder
  11. relative risk
  12. relative age
  13. relative deprivation
  14. relative dating definition
  15. relative frequency distribution
  16. relative motion
  17. relatively prime
  18. relative maximum
  19. relative frequency table
  20. relative frequency histogram

I have a group of events to load some html in some divs: $("#id1").load("1.html"); $("#id2").load("2.html"); $("#id3").load("3.html"); $("#id4").load("4.html"); and then I hide a loading bar: $("#...

I have a group of events to load some html in some divs: $("#id1").load("1.html"); $("#id2").load("2.html"); $("#id3").load("3.html"); $("#id4").load("4.html"); and then I hide a loading bar: $("#...

  1. wait_group events
  2. opencl wait_group_events