Data Browser - Viewing Site  Sector 23 Code Bank Logged in as:  Guest  


Specify fixed height and width on Angular slickgrid
enableAutoResize = true in slickgrid's gridoptions sets the grid to stretch to the bottom of the browser window.
To use a fixed size, instead set enableAutoResize=false and add the following HTML:
<angular-slickgrid gridHeight="500" gridWidth="4000" ...

If you need to subsequently change the size, you can use:
this.angularGrid.resizerService.resizeGrid(0, { height: 500, width: 4000 });

Created By: amos 2/4/2020 11:01:35 AM