Hello,
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 :
Hello,
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
docs.dhtmlx.com/grid__columns_ty … 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
docs.dhtmlx.com/grid__sub-grid.html