PDA

View Full Version : [CLOSED] Using Grid Panel Generates Error



paul4468
7 Mar 2012, 4:50 AM
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

bharatn
7 Mar 2012, 7:33 AM
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?

paul4468
7 Mar 2012, 12:07 PM
Here is a very small simple test app with the problem.

aconran
7 Mar 2012, 1:19 PM
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.

paul4468
7 Mar 2012, 1:51 PM
Making sure the storeId and userClassName were the same appeared to fix it.
I didn't know about that.

Thanks

aconran
7 Mar 2012, 1:52 PM
Thanks, we are going to make this more clear in future versions.

You shouldn't have to know about it.