Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在 extjs 工作。我想创建一个带有两个面板的视图,以在点击事件上显示不同的内容。那么如何在 extjs 中创建这样的视图呢?
选项卡面板是一个视图,您可以在其中创建多个面板:
Ext.create('Ext.tab.Panel', { width: 400, height: 400, renderTo: document.body, items: [{ title: 'First Panel' }, { title: 'Second Panel' }] });