SubGrid with in a Grid

How do i set the height, width and overflow property for the subgrid that is loaded when a sub_row is expanded and collapsed. I was if there was a way to do it from xml.

There is no API to do this.
But we made some changes in the dhtmlxgrid_sub_row.js file, which allow to change the height of the subgrid.
In case of using this file version the overflow is not hidden by default. And height can be changed by the following approach:

grid.attachEvent(“onSubGridCreated”, func)

function func(sgrid){



        return true;
Where max height is the maximum height of the sub grid before the vertical scroll appears. (2.31 KB)