---
title: dataCell
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nstablecolumn/datacell
---

# dataCell

The cell prototype used by the table column to draw individual cells.

## Declaration

```swift
var dataCell: Any { get set }
```

## Discussion

Discussion You can use this property to control the font, alignment, and other text attributes for the table column contents. You can also assign a cell that displays things other than text—for example, you can display images by setting the cell to NSImageCell. note: This property is only valid for cell-based table views.

## See Also

### Deprecated Methods

- [dataCell(forRow:)](appkit/nstablecolumn/datacell(forrow:).md)
