From Tab 1, Open Page In Tab 2 Without Being Fullscreen
From Tab 1, Open Page In Tab 2 Without Being Fullscreen, and change active tab to tab 2.
I'm having trouble doing this. Please help?
1 Answer
-
You can consider to use one of the samples in our github repo. However, a basic structure of how to switch tab and open windows can be accomplished as follows (assuming you have win1 open and you are operating on a tableview row event listener -
tableView.addEventListener('click', function(e) { var winFile = require('point to your js file to open window 2'); var win2 = new winFile(e.rowData.viewId); win2.containingTab = win1.containingTab; win1.containingTab.open(win2); });