View Full Version : Extjs4 Grid Report Error : reader is undefined

24 Oct 2011, 12:31 AM

I am facing an issue while trying to generate multiple grids in EXTJS 4. I am facing this issue only while pulling up a grid for the 3rd time. (Either when I load 3rd grid in the same page or when I load the 3rd grid in different tabs within the application). The first 2 grids come fine but the third grid is the one that fails with the below message

reader is undefined:

if (reader.isReader) { ext-all-debug.js (line 25941)

I am using the following code to define the reader.

//Define a reader for the XML file
Ext.define('GridReader', {
extend: 'Ext.data.Model',
fields: XMLFields