function resizeToFitBrowserWindow(grid, gridId, gridContainerId) {
  // calculate new available sizes but with minimum height of 220px
  var newSizes = calculateGridNewDimensions(gridId, gridContainerId);
  if (newSizes) {
    // apply these new height/width to the datagrid
    $('#' + gridId).height(newSizes.height);
    $('#' + gridId).width(newSizes.width);
    // resize the slickgrid canvas on all browser except some IE versions
    // exclude all IE below IE11
    if (new RegExp('MSIE [6-8]').exec(navigator.userAgent) === null && grid) {
      grid.resizeCanvas();
    }
  }
}
/** resize the datagrid to fit the browser height & width */
resize the datagrid to fit the browser height & width
resize the datagrid to fit the browser height & width
function resizeToFitBrowserWindow(grid, gridId, gridContainerId) {
  var newSizes = calculateGridNewDimensions(gridId, gridContainerId);
  if (newSizes) {
    $('#' + gridId).height(newSizes.height);
    $('#' + gridId).width(newSizes.width);
    if (new RegExp('MSIE [6-8]').exec(navigator.userAgent) === null && grid) {
      grid.resizeCanvas();
    }
  }
}
function resizeToFitBrowserWindow ( grid , gridId , gridContainerId ) { var newSizes = calculateGridNewDimensions ( gridId , gridContainerId ) ; if ( newSizes ) { $ ( '#' + gridId ) . height ( newSizes . height ) ; $ ( '#' + gridId ) . width ( newSizes . width ) ; if ( new RegExp ( 'MSIE [6-8]' ) . exec ( navigator . userAgent ) === null && grid ) { grid . resizeCanvas ( ) ; } } }
resize the datagrid to fit the browser height & width
resize the datagrid to fit the browser height & width
// calculate new available sizes but with minimum height of 220px // apply these new height/width to the datagrid // resize the slickgrid canvas on all browser except some IE versions // exclude all IE below IE11