I have ViewModel, and one of its fields contains array of objects. How can I create items: []
dynamically based on data of that field? Actually I need something like grid, but a bit more complex and with different layout. I guess I have to listen something like 'onChange' event for ViewModel, and do :
this.add(Ext.create('MyItem', {data: ElementOfArrayFromVMField}))
Is this right way?