---
title: "cell(atColumnIndex:rowIndex:)"
framework: appkit
role: symbol
role_heading: Instance Method
path: "appkit/nsgridview/cell(atcolumnindex:rowindex:)"
---

# cell(atColumnIndex:rowIndex:)

Returns the grid cell object at the specified column and row index.

## Declaration

```swift
func cell(atColumnIndex columnIndex: Int, rowIndex: Int) -> NSGridCell
```

## See Also

### Creating and Merging Cells

- [cell(for:)](appkit/nsgridview/cell(for:).md)
- [mergeCells(inHorizontalRange:verticalRange:)](appkit/nsgridview/mergecells(inhorizontalrange:verticalrange:).md)
