How to show a window when double click a row of a dhtmlxgrid


My purpose is to show a window which include an other grid when I double click on a row of the main grid.
How can I do this ?

Here’s a piece of code :

Your code looks correct, after creating the window, you can use attachGrid API to create a grid in the window.

dhxWins = new dhtmlXWindows(); dhxWins.attachViewportTo("winVP"); var win = dhxWins.createWindow(40, 40, 400, 200); var secondGrid = win.attachGrid(); grid.load("config_data.xml");

Also, check the next functionality … likecolumn
It is a build solution, which allows to use a second grid as an editor of the first grid.

SubGrid functionality also can be related