function checkIfExists(array, index) {
        if (!array[index]) {
          array[index] = [];
        }
      }
Create an internal array containing information of the headers with a colspan attribute.

@private