grid in cell

Hi,



Is it possible to add grid in a cell of another grid?



Here is my code,



mygrid.cells(i, j).cell.innerHTML="

";

subgrid = new dhtmlXGridObject(‘sub_grid’);



subgrid.init();



Will the subgrid shown in cell(i, j)?



Thanks!

While grid not purposed to be used in such use-case, your code must not cause any errors, and produce view, where one grid sits inside another grid
The grid can init inside any HTML container, and it doesn’t matter is it a separate HTML container or a cell inside other grid.

By the way, grid supports two built-in solution for subgrids, you can check
    dhtmlx.com/docs/products/dhtmlxG … 0587653000