Extjs 5 tree length undefined

I am converting ext4 app to 5 and keep getting "undefined length" error

in file model.js

. Mine Tree

matches the examples in the Sencha Docs tree documentation Any thoughts on what's causing this. I am using old charts in the application and this requires compatibility due to some chart settings.

+3


source to share


1 answer


I had this same problem recently in an i app converted from ExtJS4

to ExtJS5

.

When I originally created the app I saw included compatability : "4.2"

in my file app.json

in the root folder.



This compatibility option caused the same problem for me with treepanel

. If this setting is enabled and can be removed, it should fix the problem.

+3


source







All Articles