public/js/handsontable/jquery.handsontable.full.js
function () {
      if (!selection.isSelected()) {
        return;
      }
      var corners = grid.getCornerCoords([priv.selStart, selection.end()]);
      var r, c, changes = [];
      for (r = corners.TL.row; r <= corners.BR.row; r++) {
        for (c = corners.TL.col; c <= corners.BR.col; c++) {
          if (self.getCellMeta(r, c).isWritable) {
            changes.push([r, datamap.colToProp(c), '']);
          }
        }
      }
      self.setDataAtCell(changes);
    }
function () {
      if (!selection.isSelected()) {
        return;
      }
      var corners = grid.getCornerCoords([priv.selStart, selection.end()]);
      var r, c, changes = [];
      for (r = corners.TL.row; r <= corners.BR.row; r++) {
        for (c = corners.TL.col; c <= corners.BR.col; c++) {
          if (self.getCellMeta(r, c).isWritable) {
            changes.push([r, datamap.colToProp(c), '']);
          }
        }
      }
      self.setDataAtCell(changes);
    }
function ( ) { if ( ! selection . isSelected ( ) ) { return ; } var corners = grid . getCornerCoords ( [ priv . selStart , selection . end ( ) ] ) ; var r , c , changes = [ ] ; for ( r = corners . TL . row ; r <= corners . BR . row ; r ++ ) { for ( c = corners . TL . col ; c <= corners . BR . col ; c ++ ) { if ( self . getCellMeta ( r , c ) . isWritable ) { changes . push ( [ r , datamap . colToProp ( c ) , '' ] ) ; } } } self . setDataAtCell ( changes ) ; }
Deletes data from selected cells
Deletes data from selected cells