columnIndexes

fun columnIndexes(headerRowIndex: Int, headerRowColumnIndex: Int, subColumnCount: Int = numberOfSubColumns(headerRowIndex)): Pair<Int, Int>

Calculates the column indexes for a given header row and column index.

Return

start and end indexes of the columns

Parameters

headerRowIndex

The index of the header row.

headerRowColumnIndex

The index of the header row column.

subColumnCount

The number of sub columns for a given header row.