Required library edition:
Required library file: dhtmlxgrid.js
enable autoheight of grid
//enable auto height mode mygrid.enableAutoHeight(true); //disable auto height mode mygrid.enableAutoHeight(false); //enable auto height mode, set maximum height before scrolling appears, only data part included in max height calculation mygrid.enableAutoHeight(true,100); //enable auto height mode, set maximum height before scrolling appears, all grid height included in max height calculation mygrid.enableAutoHeight(true,100,true);
See also: enableAutoWidth, setAwaitedRowHeight