code: function getIndexOfColumn(tableStructure, column) {
    for (var i = 0; i < tableStructure.columns.length; i++) {
      if (tableStructure.columns[i] === column) {
        return i;
      }
    }
  }
docs: Returns the index of the given column, or undefined if none match.
  @param {TableStructure} tableStructure the table structure.
  @param {TableColumn} column The column.
  @returns {integer} The index of the column.
  @private