Results 1 to 3 of 3

Thread: Error :[Ext.Loader] Failed Loading

  1. #1
    Sencha User
    Join Date
    Nov 2013
    Posts
    7

    Default Error :[Ext.Loader] Failed Loading

    I have a problem with the following code, by running the code the Firefox javascript console gives the error : "Error: [Ext.Loader] Failed loading 'http://localhost/helloext/extjs-4.2.1/src/view/TableChunker.js', please verify that the file exists @ http://localhost/helloext/extjs-4.2.1/ext-all-dev.js:10857"

    The code is :

    Ext.define('MyApp.view.clients.ClientsGrid',{
    extend : 'Ext.grid.Panel',
    alias : 'widget.clients.grid',
    requires : [
    'Ext.view.TableChunker',
    'Ext.selection.RowModel',
    'Ext.grid.column.Column'
    ],

    border : false,

    initComponent : function(){
    var me = this;

    me.store = me.buildStore();
    me.columns = me.buildColumns();

    me.callParent();

    me.store.load();
    },

    buildColumns : function(){
    return [
    {text:'Name',dataIndex:'name',flex:1},
    {text:'Contact',dataIndex:'contact',flex:1},
    {text:'Address',dataIndex:'address',flex:1},
    {text:'Phone',dataIndex:'phone'}
    ];
    },

    buildStore : function(){
    return Ext.create('MyApp.store.clients.Clients');
    }
    });


    But by using this, <script type="text/javascript" charset="utf-8" src="http://cdn.sencha.io/ext-4.1.0-gpl/ext-all-debug.js"></script>
    <link rel="stylesheet" href="http://cdn.sencha.io/ext-4.1.0-gpl/resources/css/ext-all.css" />
    all are correct.
    I am using the Ext js sdk 4.2.1 and the XAMPP server(Apache)


    Any help please.

  2. #2
    Sencha User
    Join Date
    Feb 2013
    Location
    California
    Posts
    11,985
    Answers
    506

    Default

    Looks like the TableChunker class was cut from the framework in a rewrite needed to improve performance moving forward. I believe that the gridView rowTpl and cellTpl may be used in a Feature extension, as they take the place of the element rendering performed by TableChunker.

  3. #3
    Sencha User
    Join Date
    Nov 2013
    Posts
    7

    Default

    Please explain me by giving a example

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •