Skip to content

Commit

Permalink
fix: row col selection for merged cell (#4345)
Browse files Browse the repository at this point in the history
  • Loading branch information
lumixraku authored Dec 23, 2024
1 parent f13e573 commit b724a46
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -313,10 +313,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 b724a46

Please sign in to comment.