code: function resizeGrids() {
      let x = $(window).width();
      let y = $(window).height();
      if (x < 1200) {
          x = 1200;
      }
      if (y < 600) {
          y = 600;
      }
  
      $('#grid-devices, #grid-links, #grid-messages').setGridHeight(y - 144).setGridWidth(x - 18);
  
      $('#grid-events').css('height', (y - 80) + 'px').css('width', (x - 18) + 'px');
      $('#grid-events-inner').css('height', (y - 100) + 'px');
      $('#grid-interfaces')/* .setGridHeight(y - 99) */.setGridWidth(x - 18);
      $('#grid-rssi').setGridHeight(y - (173 + $('#gbox_grid-interfaces').height())).setGridWidth(x - 18);
  
      /*
       // funktioniert nicht mit gruppierten Headers :-(
       // .updateColumns deprecated :-((
  
       var table = $("#grid-rssi")[0];
       var r = table.rows[0], selftable = table;
       if (r) {
       $("td", r).each(function (k) {
       $(this).css('width', selftable.grid.headers[k].width + 'px');
       });
       table.grid.cols = r.cells;
       }
       */
  }
docs: Resizing