Looks like we can't reproduce the issue or there's a problem in the test case provided.
  1. #1
    Sencha User
    Join Date
    May 2011
    Posts
    8
    Vote Rating
    0
    paul4468 is on a distinguished road

      0  

    Default Using Grid Panel Generates Error

    Using Grid Panel Generates Error


    I have a very simple project with a Panel that is the initial view with a Grid Panel.

    I don't change any settings on the Grid Panel and I get an error:
    Uncaught TypeError: Cannot read property 'isStore' of undefined ext-all-debug.js:43765

    When I do add a store I get:
    Uncaught TypeError: Cannot call method 'on' of undefined ext-all-debug.js:13324

  2. #2
    Sencha User
    Join Date
    Jun 2011
    Posts
    350
    Vote Rating
    1
    bharatn is on a distinguished road

      0  

    Default


    Hi Paul,

    Can you attached the project here or send us an pm/email if the project has sensitive info.

    Can you also add the steps to reproduce the error?
    Bharat Nagwani
    Sencha Designer Development Team

  3. #3
    Sencha User
    Join Date
    May 2011
    Posts
    8
    Vote Rating
    0
    paul4468 is on a distinguished road

      0  

    Default


    Here is a very small simple test app with the problem.
    Attached Files

  4. #4
    Sencha - Architect Dev Team aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,413
    Vote Rating
    129
    aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold

      0  

    Default


    Okay using the project, how do we reproduce the problem?

    It sounds like you are being affected by the Ext JS MVC issue that requires storeId and userClassName of your stores to be the same thing.
    Aaron Conran
    @aconran
    Sencha Architect Development Team

  5. #5
    Sencha User
    Join Date
    May 2011
    Posts
    8
    Vote Rating
    0
    paul4468 is on a distinguished road

      0  

    Default


    Making sure the storeId and userClassName were the same appeared to fix it.
    I didn't know about that.

    Thanks

  6. #6
    Sencha - Architect Dev Team aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,413
    Vote Rating
    129
    aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold

      0  

    Default


    Thanks, we are going to make this more clear in future versions.

    You shouldn't have to know about it.
    Aaron Conran
    @aconran
    Sencha Architect Development Team

Thread Participants: 2