Open one window after another in tab view

You must Login before you can answer or comment on any questions.

Hi,

I have a tableview in a tab. I want to programatically simulate clicking on one row of the tableview to open a second tableview, and then open another window with a webview.

So we have: tableview1 tableview2 webview

I have created two windows for each of these and have used tabs.open twice to open each window.

var win = dw.ui.createContentsWindow(tableview);
var win2 = dw.ui.createTopicWindow(webview);
dw.libraryTab.open(win);
dw.libraryTab.open(win2);
The effect of this is that two windows open, however, the webview opens the tableview2. The webview does not open.

Has anyone tried to do the same thing?

Regards

Mark

— asked 2 years ago by Mark Poston
3 Comments
  • huh?

    — commented 2 years ago by Aaron Saunders

  • Any solution? experiencing the same thing...

    — commented 2 years ago by Peter Lum

  • hi peter

    Can you provide some snippet of code and some explanation as this doenst make any sense to me.

    Regards

    Nikunj

    — commented 2 years ago by Nikunj S

1 Answer

you can use .fireEvent('click'); on almost any visual component to simulate a click (even in a table row), if this is what you want. But, sincerely, I don't understand what are trying to do.

Your Answer

Think you can help? Login to answer this question!