enables autoheight of the grid
| mode | boolean | true/false |
| maxHeight | number | maximum height before scrolling appears (no limit by default) |
| countFullHeight | boolean | control usage of maxHeight param:if true,all grid height included in max height calculation,if false(default)-only data part(no header)of the grid included in it |
//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);
Back to top