PDA

View Full Version : Custom grid features can't be accessed through ftype in array?



whirling dervish
7 Feb 2013, 2:20 PM
I've implemented a custom grid feature 'CommonMenuFeature' and assigned it the alias 'feature.commonmenu'. What I am seeing is that when I try to assign the features using,


features: [ { ftype: 'commonmenu' } ],

The feature loads and works correctly.

But when I try using a string array of ftypes (or a single ftype in this case),


features: [ 'commonmenu' ],

I get the follow error,


[Ext.Loader] Synchronously loading 'feature.undefined'; consider adding Ext.require('feature.undefined') above Ext.onReady


It doesn't make sense to me that this would work in one instance and not in the other. Anyone have an idea what might be going on here?