Accessing individual tab on AW.UI.Tabs
How can we access each individual tab item ?
We are trying to change the width of each tab header according to the width of the content in the header.
var tabs = new AW.UI.Tabs;
var names = ["Summary by Cluster & Product", "Entity Cluster", "Counterparty"];
var values = ["div_grid1", "div_grid2", "div_grid3"];
tabs.setId("myTabs");
tabs.setItemText(names);
tabs.setItemValue(values);
tabs.setItemCount(3);
tabs.refresh();
tabs.setSelectedItems([0]);
We are trying to change the width of each tab header according to the width of the content in the header.
var tabs = new AW.UI.Tabs;
var names = ["Summary by Cluster & Product", "Entity Cluster", "Counterparty"];
var values = ["div_grid1", "div_grid2", "div_grid3"];
tabs.setId("myTabs");
tabs.setItemText(names);
tabs.setItemValue(values);
tabs.setItemCount(3);
tabs.refresh();
tabs.setSelectedItems([0]);
cpuri
July 7,