I have a controller something like this:
Ext.define('DigitalPaper.controller.Documents', {
extend: 'Ext.app.Controller',
views: ['Documents'],
stores: ['Documents'],
models: ['Documents'],
config: {
defaultColumnSet: undefined
},....
I want to call the method getDefaultColumnSet or setDefaultColumnSet from the view. Is this possible?
I have tried with
Ext.app.Controller.getController('Documents');
But it doesn't work!
Any suggests?