getCellRowIndex

fun Dimension.getCellRowIndex(cellIndex: Int): Int

Returns the row index (within the range 0 to Dimension.height - 1) for a given cell index.

Throws an IllegalArgumentException with a specific message if the provided cell index is invalid.