0
votes

I am working with Dojo 1.10 and Dijit Widgets. Instead of using a TabContainer I need to use a StackContainer with a StackController. I can't find a way to make these "tabs" closable. Thought there would be a possibility comparable to the TabContainer, but I'm not able to figure out the solution.

I hope you can help me! Thank you very much!

1

1 Answers

0
votes

The child of the stackContainer should have a property closable: true.
Actually it should have all properties defined in StackContainer.ChildWidgetProperties. (see StackContainer.js code)
Then in the stackController you have to attach a click event (of a link for instance) to the method onCloseButtonClick (You can see how it is done in TabController.js code)