View Full Version : Getting this error: TypeError: me.model is undefined. Need help

Peter Lu
21 Aug 2012, 6:48 AM
This is my code:

<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>
Ext.BLANK_IMAGE_URL = 'images/s.gif';

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


I always get this error:

TypeError: me.model is undefined

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

Thanks a lot for your help.

21 Aug 2012, 7:06 AM
Read this guide http://docs.sencha.com/ext-js/4-1/#!/guide/data

Peter Lu
23 Aug 2012, 11:01 AM
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.