簡體   English   中英

extjs 7.00 - 在 xtype 視圖中加載 xtype 視圖

[英]extjs 7.00 - load xtype view inside xtype view

需要在 extjs 上的另一個 xtype 視圖中加載 xtype 視圖。 視口到指定的 xtype 或 id,請。

頁面中有三個容器。

xtype: 'topview',
xtype: 'centerview',
xtype: 'bottomview',

我們如何實現加載

xtype: 'newview',

里面

xtype: 'centerview',

將其定義為包含 class 的項目

Ext.define('centerview', {
    alias: 'centerview',
    items: [
        {
            xtype: 'newview'
        }
    ]
}

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM