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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T13:46:18+00:00 2026-06-12T13:46:18+00:00

I wrote this Ext js application but I keep getting this error that says

  • 0

I wrote this Ext js application but I keep getting this error that says cannot call method ‘create’ in line 32. I took out some lines from the original code. Ext.onReady didnt work, the page would just be blank and the debuger didnt give any errors, but when i took out Ext.onReady() this error popped up

<html>
  <head><title>Arrar Read</title>

    </head>
  <body>


 <link rel="stylesheet" type="text/css" href="C:/Users/kevin/ext-3.4.0/ext-3.4.0        /resources/css/ext-all.css"/>

 <script type="text/javascript" src="C:/Users/kevin/ext-3.4.0/ext-3.4.0/adapter      /ext/ext-base-debug.js"></script>
 <script type="text/javascript" src="C:/Users/kevin/ext-3.4.0/ext-3.4.0ext-all.js">       </script>
 <script type="text/javascript" src="C:/Users/kevin/ext-3.4.0/ext-3.4.0/ext-all-       debug.js"></script>
<script type="text/javascript" src="C:/Users/kevin/ext-3.4.0/ext-3.4.0/adapter/ext/ext-base.js"></script>
 <script type="text/javascript" src="C:/Users/kevin/ext-3.4.0/ext-3.4.0/pkgs/ext-core.js"></script>


    <script type="text/javascript">


 var arrayD = [
['Jary Garcia', 'MD'],
['Arron, Baker', 'VA'],
['Susan Smith',  'DC'],
['Mary Smith',  'DE'],
['Bryan Shanly',  'NJ'],
['Nyron Selgado',  'CA']
  ];

  var nameRecord = Ext.data.Record.create([
{ name: 'name', mapping : 1},
{ name: 'state',mapping : 2}
 ]);

  var arrayReader = new Ext.data.ArrayReader({},nameRecord); //creating a reader

  var memoryProxy = new Ext.data.MemoryProxy(arrayD); //creating a memory proxy from the array

 var store = new Ext.data.Store({ //create a store
reader : arrayReader,
proxy : memoryProxy

 });

 var colModel = new Ext.grid.ColumnModel([
{
    header : 'Full Name',
    sortable : true,
    dataIndex : 'fullName'
},
{
    header : 'State',
    dataIndex : 'state'
}
  ]);

  var gridView = new Ext.grid.GridView();

  var selModel = new Ext.grid.RowSelectionModel({
singleSelect : true
  });

  var grid = new Ext.grid.GridPanel({ //create a gridpanel
title : 'First Grid',
renderTo : Ext.getBody(),
autoHeight : true,
width : 250,
store : store,
view : gridView,
colModel : colModel,
selModel : selModel
 });

  console.debug('everything executed');


  </script>

  </body>
 </html>

I dont know if im missing some script files or not . can someone please help me

  • 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-12T13:46:20+00:00Added an answer on June 12, 2026 at 1:46 pm

    Here is an ExtJs 4 example: (working fiddle)

    var arrayD = [
        ['Jary Garcia', 'MD'],
        ['Arron, Baker', 'VA'],
        ['Susan Smith', 'DC'],
        ['Mary Smith', 'DE'],
        ['Bryan Shanly', 'NJ'],
        ['Nyron Selgado', 'CA']
    ];
    
    Ext.define('Person', {
        extend: 'Ext.data.Model',
        fields: [
            {name: 'name',  type: 'string'},
            {name: 'state',   type: 'string'}
        ]
    });
    
    var store = Ext.create('Ext.data.Store', {
         model: 'Person',
         data: arrayD 
    });
    
    var grid = Ext.create('Ext.grid.GridPanel', { //create a gridpanel
        title: 'First Grid',
        renderTo: Ext.getBody(),
        autoHeight: true,
        width: 250,
        store: store,
        columns: [
            {
                header: 'Full Name',
                sortable: true,
                dataIndex: 'name'},
            {
                header: 'State',
                dataIndex: 'state'
            }
        ]
    });
    
    console.debug('everything executed');​
    

    You can download your own version and put it in a webserver or use one of these for js:

    //for production
    <script src="http://cdn.sencha.io/ext-4.1.1-gpl/ext-all.js"></script>
    //for debug => isn't minified
    <script src="http://cdn.sencha.io/ext-4.1.1-gpl/ext-all-debug.js"></script>
    //for development => isn't minified, logs errors and warnings to the console.
    <script src="http://cdn.sencha.io/ext-4.1.1-gpl/ext-all-dev.js"></script>
    

    for css use:

    <link rel="stylesheet" type="text/css" href="htpp://cdn.sencha.io/ext-4.1.1-gpl/resources/css/ext-all.css"/>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I wrote this code for zoom in/out . it works but even with one
I wrote this program: #include <stdio.h> /*Part B Write a program that: defines an
I wrote this n-array tree class. I want to write a method to add
I wrote this class that draws a animated progress with a circle (it draws
I am working on an GWT-ext application. In this application I managed client side
I use yii framework to create map application.In this application i use GeoExt and
In my Python-coded AppEngine application, I'm getting the following error code: NameError: global name
On GAE this line of code: file_name = files.blobstore.create(mime_type='image/png') drops google.appengine.runtime.DeadlineExceededError Here is the
My application needs to delete some files, but this should happen until next windows
I wrote this as a simple dice game. It works as I want except

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.