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 6901531
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T07:41:08+00:00 2026-05-27T07:41:08+00:00

As part of my EXTJS 4 learning process, I am trying to establish a

  • 0

As part of my EXTJS 4 learning process, I am trying to establish a simple process of database connection – loading a value in a data Store – taking the value and placing it in a dataField.

The data is loaded fine from the php script and placed into the Store via a json call. (as confirmed through FireBug)
However, the dataField, does not seem to be able to load the value.

Here is what I have so far:

//Model definition
Ext.define('FingerModel', {
        extend: 'Ext.data.Model',
        fields: [
                    {name: 'name', type: 'string'}
              ]
    }); 

//Store Definition
        var est_data = new Ext.data.Store({
            model: 'FingerModel',
            proxy: {
                type: 'ajax',
                url: 'finger.php',
                extraParams: {opt: 'getName'},
                reader: {
                    type: 'json',
                    root: 'results',
                    totalProperty: 'total'
                }
            },
            autoLoad: true,
            // turn off remote sorting
            remoteSort: false
        });

//Form definition
var fingerForm = Ext.create('Ext.form.Panel', {
            width: 500,
            title: 'Finger',
            waitMsgTarget: true,
            items: [{
                xtype: 'fieldset',
                title: 'Finger Form',
                items: [{
                        xtype:'textfield',
                        fieldLabel: 'Location Name',
                        name: 'name'
                    }]
            }]
    });

        fingerForm.getForm().loadRecord(FingerModel);

Anybody see anything obvious that I’m doing wrong?

Thanks in advance.

M.

  • 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-05-27T07:41:08+00:00Added an answer on May 27, 2026 at 7:41 am

    Ext.form.field.Text does not have a ‘store’ property. How would it know which row of the store to use?

    You should use Form.loadRecord() to load the model into the form, and it will set form fields with the same name as the model field names.

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

Sidebar

Related Questions

How do you implement a multiselect combobox as part of a Ext.FormPanel using ExtJs?
Part of a Lua application of mine is a search bar, and I'm trying
Finally after struggling with extjs tree panel, tree store and building custom reader to
Just FYI this code is part of ExtJS 4 script. I have a global
I've been using EXTJS 4 and loading my stores through an AJAX call to
I'm new in Ext and I have a problem: I'm trying to fill extjs-grid
I have this task: realize Grails application with ExtJS. And one part of this
Part of My Item Model: Ext.define('DnD.model.Item', { extend: 'Ext.data.Model', idProperty:'item_number', associations: [{ type: 'belongsTo',
Part of my software build process includes getting the hash of the working directory
Part of what's so powerful about Clojure is that all the core data-types implement

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.