getInputValue = function getInputValue(row) {
            var col = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
            var rowValue = input[row % input.length];

            if (col !== null) {
              return rowValue[col % rowValue.length];
            }

            return rowValue;
          }
Populate the data from the provided 2d array from the given cell coordinates.

@private
@param {Object} start Start selection position. Visual indexes.
@param {Array} input 2d data array.
@param {Object} [end] End selection position (only for drag-down mode). Visual indexes.
@param {String} [source="populateFromArray"] Source information string.
@param {String} [method="overwrite"] Populate method. Possible options: `shift_down`, `shift_right`, `overwrite`.
@param {String} direction (left|right|up|down) String specifying the direction.
@param {Array} deltas The deltas array. A difference between values of adjacent cells.
                      Useful **only** when the type of handled cells is `numeric`.
@returns {Object|undefined} ending td in pasted area (only if any cell was changed).