I am simply trying to add a new tab programmticaly.
I simply do this:
this.ribbon.widget.addTab("Test", , 2);
It show the tab fine. However, if i try to click it, it renders it as a hyperlink and not as a tab. I noticed that the rendering doesn't attach the role attribute:
The middle on is the new tab (highlighted).
Worse off, my other tabs don't work. By this i mean, when i select one of my other tabs, and the ribbon content disappears. In the following picture, i chose the "Menu" item.
How can i simply add a tab to the ribbon control?