Hello, I'm new to ExtJs and DeftJS, but am using ExtJS 4 with DeftJS on existing code base.

I have a view which has in it similar to:

tabConfig { myAttribute : 'customName' },

{ xtype: something, itemId: theId }

and in the controller it is watching the item using:


but what I want to do is to change the tabConfig attribute to something else, depending on a store update.

I have the code recognising the store update, but I can't watch the tabConfig in order to be able to change it.

For example, if I give my tabConfig an itemId or Id it gives me an error as it tries to generate it's own id, so I gave a cls attribute in tabConfig e.g. cls='custom' then in the controller I tried to use the following but it gives me another error saying cls=custom cannot be found....

control :{
theTabConfig: selector: { '[cls=custom]' }

please help,