<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSMatrix/scrollCellToVisible(atRow:column:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSMatrix(im)scrollCellToVisibleAtRow:column:"
  },
  "title" : "scrollCellToVisible(atRow:column:)"
}
-->

# scrollCellToVisible(atRow:column:)

Scrolls the receiver so the specified cell is visible.

```
func scrollCellToVisible(atRow row: Int, column col: Int)
```

## Parameters

`row`

The row of the cell to make visible.

`col`

The column of the cell to make visible.

## Discussion

This method scrolls if the receiver is in a scrolling view and `row` and `column` represent a valid cell within the receiver.

## See Also

[`-  scrollRectToVisible:`](/documentation/AppKit/NSView/scrollToVisible(_:))

Scrolls the view’s closest ancestor [`NSClipView`](/documentation/AppKit/NSClipView) object the minimum distance needed so a specified region of the view becomes visible in the clip view.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)