Tabs 如何在ExtJs4中将选项卡添加到网格值

Tabs 如何在ExtJs4中将选项卡添加到网格值,tabs,grid,extjs4,Tabs,Grid,Extjs4,在网格面板中,我有值,当我单击网格值时,它应该在同一网格面板的“新建”选项卡中打开,其中包含与网格值相关的数据如果我正确地跟踪了您,那么在项中单击:function(){}您可以尝试使用此代码打开一个新选项卡 Ext.getCmp('tabpanel_id').add({ title: 'New Tab', layout:'fit', closable: true, items:[ //stuff ins

在网格面板中,我有值,当我单击网格值时,它应该在同一网格面板的“新建”选项卡中打开,其中包含与网格值相关的数据

如果我正确地跟踪了您,那么在
项中单击:function(){}
您可以尝试使用此代码打开一个新选项卡

  Ext.getCmp('tabpanel_id').add({
        title: 'New Tab',
        layout:'fit',
        closable: true,
        items:[

           //stuff inside tab panel

        ]
    }).show();