type
Optional. Sets the TreeGrid mode of a grid
type?: "tree";
Example
const grid = new dhx.Grid("grid_container", {
type: "tree",
columns: [
// columns config
],
width: 400,
data: dataset
});
Related article: TreeGrid mode