AnsweredAssumed Answered

Programatically Set tab content for a jimu/dijit/TabContainer3

Question asked by wgsl on Sep 15, 2016
Latest reply on Sep 16, 2016 by wgsl

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[1].set(), but returned 'set is not a function error'.  Then I tried to assign to tabs[1].content, no error but didn't do anything. what is the correct way to set tabcontainer tab content programatically?

 

Outcomes