Skip to content

Commit

Permalink
fix: row col selection when merge cell is in first row/col
Browse files Browse the repository at this point in the history
  • Loading branch information
lumixraku committed Dec 20, 2024
1 parent 4d6c3dc commit 12315c4
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -305,10 +305,14 @@ export class SheetSelectionRenderService extends BaseSelectionRenderService impl
case RANGE_TYPE.ROW:
selectCell.startColumn = 0;
selectCell.endColumn = this._skeleton.getColumnCount() - 1;
selectCell.startRow = selectCell.actualRow;
selectCell.endRow = selectCell.actualRow;
break;
case RANGE_TYPE.COLUMN:
selectCell.startRow = 0;
selectCell.endRow = this._skeleton.getRowCount() - 1;
selectCell.startColumn = selectCell.actualColumn;
selectCell.endColumn = selectCell.actualColumn;
break;
case RANGE_TYPE.ALL:
selectCell.startRow = 0;
Expand Down

0 comments on commit 12315c4

Please sign in to comment.