Hi, I have a Dataview and when an image is clicked want to display an existing Viewport.
Each image in my Dataview has an index:
listeners: {
itemclick: function(dataview, record, item, index, e)
{
if(index == 0){.....}

I am having problems displaying an existing object:
Ext.define('MyApp.view.UserViewport', {
extend: 'Ext.container.Viewport',alias: 'widget.userviewport',
id: 'viewWindow',
requires: ['MyApp.view.UsersGridPanel','MyApp.view.UserFormPanel'],
alias: 'widget.userviewport',
layout: 'border'
..........});

Thanks
Tom