setCursorCol method
Move the active cursor to the given column.
Implementation
Future<void> setCursorCol(int col) async {
int targetRow;
try {
targetRow = (await VolvoxGridService.GetSelection(_getSelectionRequest))
.activeRow;
} catch (_) {
targetRow = 0;
}
await VolvoxGridService.Select(
_buildSingleRangeSelectRequest(targetRow, col,
rowEnd: targetRow, colEnd: col),
);
notifyListeners();
}