extendRangeTo

fun extendRangeTo(rowKey: Any, columnKey: String)(source)

Extends the selection to one cell, the way Shift+click does.

The first extension anchors on wherever the cursor already was, so a plain click followed by a shift-click selects the block between them. Shift-clicking with nothing focused yet anchors on the clicked cell instead, selecting just it.