UNPKG

handsontable

Version:

Handsontable is a JavaScript Data Grid available for React, Angular and Vue.

15 lines (14 loc) 446 B
"use strict"; exports.__esModule = true; const command = exports.command = { name: 'moveCellSelectionToMostInlineEnd', callback(hot) { const { selection, columnIndexMapper } = hot; selection.markSource('keyboard'); selection.setRangeStart(hot._createCellCoords(hot.getSelectedRangeActive().highlight.row, columnIndexMapper.getNearestNotHiddenIndex(hot.countCols() - 1, -1))); selection.markEndSource(); } };