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

  • SEARCH
  • Home
  • 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 8520485
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T06:32:59+00:00 2026-06-11T06:32:59+00:00

I am creating a combo box using extjs 4 in an editable grid (im

  • 0

I am creating a combo box using extjs 4 in an editable grid (im using extjs 4) and i am using external ajax call to populate it rather than using a extjs proxy, the reason is that i am using the same call for loading other combo boxes. So i thought why not use the same function. Here is the code for store, model, dropdown and ajax call:

var drpdwnitems = "";

Ext.define('rStatusRecord', {
    extend: 'Ext.data.Model',
    fields: [
        { name: 'code', type: 'string' },
        { name: 'value', type: 'string' }
    ]
});

var dsStatus = Ext.create('Ext.data.Store', { model: 'rStatusRecord', data: [] });

var timeSelectField_1 = {
     xtype: 'combobox',
     typeAhead: true,
     displayField: 'code',
     valueField: 'value',
     store: dsStatus,
     triggerAction: 'all'

};

This field is basically used in grid panel’s column for the editing purpose. AJax call is basically returning a string.

$.ajax({
    type: "GET",
    url: "XHR/Task_TypesCalls.aspx?TL_A=1", 
    error: function() { alert('Error loading document'); },
    success: loadAvailableTasksList
});

function loadAvailableTasksList(contents, status) {
     drpdwnitems = contents.split("!");
     if (status != "success") return;

     var drpdwnitemsind;

     dsStatus.removeAll();
     for (i = 0; i < drpdwnitems.length; i++) {
        drpdwnitemsind = drpdwnitems[i].split(":");
        statusRecord = Ext.create('rStatusRecord', {
          code: drpdwnitemsind[0], //"",
          value: drpdwnitemsind[0]//""
        });

        dsStatus.add(statusRecord);
      } //end of loop
}

Now when i edit the field and open the combo box, there is an error

TypeError: url is undefined
This error is in the file ext-all-debug.js

What my guess is that url config of store is necessary and im not providing it. OR am i doing something wrong here?

  • 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-11T06:33:00+00:00Added an answer on June 11, 2026 at 6:33 am

    See: http://docs.sencha.com/ext-js/4-1/#!/api/Ext.form.field.ComboBox-cfg-queryMode

    You want to set it to local.

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

Sidebar

Related Questions

I am creating a lot of dynamic flex components like RadioButton, Combo Box, CheckBox.
I'm creating a DataGridView with a column DataGridViewComboBoxColumn. Initially the combo box Items is
I'm trying to populate a ComboBox programatically. I am creating ComboBoxItems and would like
Creating a simple RPG game, first time using XNA. Trying to get my character
I am dynamically creating combo boxes with PHP for a calendar: <?php $i=1; while($i
I wanted to create a custom combo box like this (as in MS Word),
We are using ExtJS for a webapplication. In that application, we use the standard
I am creating an application using the MVVM pattern and somewhere I have a
I'm creating a web application using cakephp 1.2.6. There is a functionality that I
I'm creating a WPF application using the MVVM design pattern that consists of a

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.