code: function (coords, toCoords) {
        if (priv.dataType === 'object' || priv.settings.columns) {
          throw new Error("cannot remove column with object data source or columns option specified");
        }
        var r = 0;
        if (!coords || coords.col === self.colCount - 1) {
          for (; r < self.rowCount; r++) {
            priv.settings.data[r].pop();
          }
        }
        else {
          var howMany = toCoords.col - coords.col + 1;
          for (; r < self.rowCount; r++) {
            priv.settings.data[r].splice(coords.col, howMany);
          }
        }
      }
docs: Removes col at the right of the data array
  @param {Object} [coords] Optional. Coords of the cell which col will be removed
  @param {Object} [toCoords] Required if coords is defined. Coords of the cell until which all cols will be removed