Hello, I have a programatically created tab container in postCreate(). And I want to set the content to each tab via a button click. Please see below for code snippets. I used tabs.set(), but returned 'set is not a function error'. Then I tried to assign to tabs.content, no error but didn't do anything. what is the correct way to set tabcontainer tab content programatically?
Solved! Go to Solution.
The only places I ever see TabContainer3 used it is always created programatically and the tabs content is added in the constructor. There are no functions in the dijit to allow for adding content after creation.
Thanks Robert! Ok, I'll re-arrange my codes to achieve my purpose. Another question, do you know how to programatically set the selected tab to a different tab other than the default left one when first start the tab container?