code: function () {
        if (!priv.settings.multiSelect) {
          return;
        }
        var tds = self.view.getAllCells();
        if (tds.length) {
          selection.setRangeStart(tds[0]);
          selection.setRangeEnd(tds[tds.length - 1], false);
        }
      }
docs: Select all cells