我在我的面板項目中添加了一個容器。 me.add(Contain);
如何在extjs刑法項目中多次添加容器
我想在某些條件下多次添加此容器。我正在使用循環,最後我正在寫。 panel.doLayout();
它只出現一個容器正在添加。我錯過了什麼。 如何在extjs面板項目中舊的多個容器。
我在我的面板項目中添加了一個容器。 me.add(Contain);
如何在extjs刑法項目中多次添加容器
我想在某些條件下多次添加此容器。我正在使用循環,最後我正在寫。 panel.doLayout();
它只出現一個容器正在添加。我錯過了什麼。 如何在extjs面板項目中舊的多個容器。
Before add container multiple times in to your panel. Check that container
you are adding does not have id or itemId as a config property.
So if you want to add that container multiple time you can use that container
with different itemId.
Otherwise it will add only one container and other added container will not
displayed on GUI.
優秀的答案。這個對我有用。非常感謝@Balram – David
另外,在一個簡要說明中,Container現在正在添加「面板」。但如果item更多,則「滾動」不起作用。 – David
謝謝。我改變了'layout'並且工作正常。 – David