PDA

View Full Version : Uncaught TypeError



rakagod
22 Nov 2011, 11:39 AM
A small sample app that works with Extjs 4.0.7 now gives the following error under 4.1.pr1:
Uncaught TypeError: Cannot call method 'save' of undefined

It uses "direct".
The code is available at:
http://www.sencha.com/forum/showthread.php?156365-Ext.-Direct-and-Grid-Tutorial-Code-updated-to-ExtJs-4-Architecture-from-version-3


(http://www.sencha.com/forum/showthread.php?156365-Ext.-Direct-and-Grid-Tutorial-Code-updated-to-ExtJs-4-Architecture-from-version-3)

mitchellsimoens
22 Nov 2011, 11:56 AM
Can't run the example without MySQL example and don't have a dump.

rakagod
22 Nov 2011, 12:03 PM
The data is here:
http://docs.sencha.com/ext-js/4-0/guides/direct_grid_pt1/grid-tutorial.sql

I (http://docs.sencha.com/ext-js/4-0/guides/direct_grid_pt1/grid-tutorial.sql)t creates and loads the database.

rakagod
22 Nov 2011, 12:12 PM
You can test the 4.0 version of the code that I point to in the initial post,
or the 3.0 version that is available from:
http://docs.sencha.com/ext-js/4-0/guides/direct_grid_pt2/reference-files.zip

millin123
10 Feb 2013, 11:59 PM
Did you find the solution to that error. I am getting the same error

Alok.Ranjan
4 Aug 2013, 7:26 AM
Do we have any solution to this problem?