public/js/handsontable/jquery.handsontable.full.js
function (start, end) {
      var r, rlen, c, clen, output = [], row;
      rlen = Math.max(start.row, end.row);
      clen = Math.max(start.col, end.col);
      for (r = Math.min(start.row, end.row); r <= rlen; r++) {
        row = [];
        for (c = Math.min(start.col, end.col); c <= clen; c++) {
          row.push(datamap.get(r, datamap.colToProp(c)));
        }
        output.push(row);
      }
      return output;
    }
function (start, end) {
      var r, rlen, c, clen, output = [], row;
      rlen = Math.max(start.row, end.row);
      clen = Math.max(start.col, end.col);
      for (r = Math.min(start.row, end.row); r <= rlen; r++) {
        row = [];
        for (c = Math.min(start.col, end.col); c <= clen; c++) {
          row.push(datamap.get(r, datamap.colToProp(c)));
        }
        output.push(row);
      }
      return output;
    }
function ( start , end ) { var r , rlen , c , clen , output = [ ] , row ; rlen = Math . max ( start . row , end . row ) ; clen = Math . max ( start . col , end . col ) ; for ( r = Math . min ( start . row , end . row ) ; r <= rlen ; r ++ ) { row = [ ] ; for ( c = Math . min ( start . col , end . col ) ; c <= clen ; c ++ ) { row . push ( datamap . get ( r , datamap . colToProp ( c ) ) ) ; } output . push ( row ) ; } return output ; }
Returns data range as array
@param {Object} start Start selection position
@param {Object} end End selection position
@return {Array}
Returns data range as array