1. #1
    Sencha User
    Join Date
    Aug 2012
    Posts
    2
    Vote Rating
    0
    Peter Lu is on a distinguished road

      0  

    Default Answered: Getting this error: TypeError: me.model is undefined. Need help

    Answered: Getting this error: TypeError: me.model is undefined. Need help


    This is my code:

    <html>
    <head>
    <title>Grid Starter</title>
    <link rel="stylesheet" type="text/css" href="../../extjs/resources/css/ext-all.css">
    <script type="text/javascript" src="../../extjs/ext-all-debug.js"></script>
    <script>
    Ext.onReady(function(){
    Ext.BLANK_IMAGE_URL = 'images/s.gif';
    Ext.QuickTips.init();

    var store = new Ext.data.Store({
    data: [
    [1,"84m.jpg","Office Space","Mike Judge","1999-02-19",1,"Work Sucks",19.95,true]
    ]
    });

    });
    </script>
    </head>
    <body>
    </body>
    </html>

    I always get this error:

    TypeError: me.model is undefined

    me.setProxy(me.proxy || me.model.getProxy());

    Thanks a lot for your help.


  2. #2
    Sencha User
    Join Date
    May 2011
    Location
    Ukraine, Rivne
    Posts
    250
    Answers
    44
    Vote Rating
    42
    redraid has a spectacular aura about redraid has a spectacular aura about redraid has a spectacular aura about

      0  

  3. #3
    Sencha User
    Join Date
    Aug 2012
    Posts
    2
    Vote Rating
    0
    Peter Lu is on a distinguished road

      0  

    Default


    Hi redraid,

    The code is from a book called "Learning Ext JS". I think the code does not work in ExtJS 4 environment. I looked the link your provided and it works. Thank you so much.

    Peter

Thread Participants: 1

Tags for this Thread