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
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!