Can a chained store be define using Ext.define statement? I tried the following code but I'm getting errors:
Ext.define('MyProject.store.RelFiltered', {
extend: 'Ext.data.ChainedStore',
source:'MyProject.store.Rel',
alias: 'store.releasesFiltered'
});
The errors I receive are:
Ext.data.ChainedStore.applySource(): Invalid source "MyProject.store.Rel" specified for Ext.data.ChainedStore
and
Ext.mixin.Bindable.applyBind(): Cannot use bind config without a viewModel
I got the idee from this post, but it seems that the code is incomplete.
Thank you