I need the same thing but the code above no longer works. I removed the “enableAutoViewport” line since that was deprecated but it still will not work. Here is my code…
dhxWins = new dhtmlXWindows();
//dhxWins.enableAutoViewport(false);
dhxWins.attachViewportTo(c3.layout.cells("a"));
w1 = dhxWins.createWindow("w1", 20, 30, 320, 200);
w1.keepInViewport(true);
Console error is: Uncaught TypeError: undefined is not a function. It points to dhtmlx.js line 9 column 1275861, which is this… this.vp.appendChild(K);