PDA

View Full Version : [CLOSED] Multiple Grid Sorting Example Error



marco.morreale
Sep 19, 2012, 8:37 AM
I tried to implement this feature in my grid but i get the error:
Microsoft JScript runtime error: Unable to get value of the property 'dragZone': object is null or undefined

In debug i found out that "this.child('headercontainer').reorderer" is undefined.

Can you help me , please?
Thanks in advance
Marco

marco.morreale
Sep 19, 2012, 8:48 AM
Exploring the script in debug i noticed that "App.Store1" is always undefined.
In debug a can refer to the store with "App.ctl00_cpFlexContainer_Store1".

Is something wrong with my setup?
M

Daniil
Sep 19, 2012, 10:19 AM
Hi,

I guess you use user controls, isn't that so?

Please use


#{Store1}

instead of

App.Store1

Please don't forget to wrap the script in an <ext:XScript> control to cause #{} syntax gets parsed.