I have created a tabstrip and added 4 tabs to it. How to go to particular view on clicking each tab.This is the code:
var tabstrip1 = new sap.ui.commons.TabStrip("ts1",{
tabs:[
new sap.ui.commons.Tab("t1",{text:"KPI"}),
new sap.ui.commons.Tab("t2",{text:"Data" }),
new sap.ui.commons.Tab("t3",{text:"Config"}),
new sap.ui.commons.Tab("t4",{text:"Admin"})
]
});
Suppose I click on tab with id "t1".. it must go to that view..how to do that. I came across attachSelect method under tabstrip.. how to use it or are there any other methods to implement the same.
Thanks in advance