1. #1
    Sencha User
    Join Date
    Aug 2011
    Posts
    41
    Vote Rating
    1
    rakagod is on a distinguished road

      0  

    Default Uncaught TypeError

    Uncaught TypeError


    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



  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,646
    Vote Rating
    899
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    Can't run the example without MySQL example and don't have a dump.
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  3. #3
    Sencha User
    Join Date
    Aug 2011
    Posts
    41
    Vote Rating
    1
    rakagod is on a distinguished road

      0  

    Default


    The data is here:
    http://docs.sencha.com/ext-js/4-0/guides/direct_grid_pt1/grid-tutorial.sql

    I
    t creates and loads the database.

  4. #4
    Sencha User
    Join Date
    Aug 2011
    Posts
    41
    Vote Rating
    1
    rakagod is on a distinguished road

      0  

    Default


    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/gu...ence-files.zip

  5. #5
    Sencha User
    Join Date
    Jan 2013
    Posts
    1
    Vote Rating
    0
    millin123 is on a distinguished road

      0  

    Default rakagod

    rakagod


    Did you find the solution to that error. I am getting the same error

  6. #6
    Sencha Premium Member
    Join Date
    Apr 2009
    Location
    Hyderabad, India
    Posts
    9
    Vote Rating
    0
    Alok.Ranjan is on a distinguished road

      0  

    Default Any update on this problem

    Any update on this problem


    Do we have any solution to this problem?