This example will show you how to add tabs dynamically.
You can refer to this question for adding click actions to the nodes of the tree.
0
votes
var formPanel = new Ext.form.FormPanel({bla bla bla });
var tabPanel = .... ;
tabPanel.add(formPanel);
tabPanel.doLayout();
This little snippet will allow you to add panels to your tab panel. The suggestion above should help you handle the click events for your tree panel.
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.OkRead more