---
title: gridStyleMask
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nstableview/gridstylemask
---

# gridStyleMask

The grid lines drawn by the table view.

## Declaration

```swift
var gridStyleMask: NSTableView.GridLineStyle { get set }
```

## Discussion

Discussion Use this property to specify whether lines should be drawn between rows and columns. When setting this property, you can specify multiple styles at once by adding the corresponding constants together. The default value of this property is NSTableViewGridNone.

## See Also

### Setting Display Attributes

- [intercellSpacing](appkit/nstableview/intercellspacing.md)
- [rowHeight](appkit/nstableview/rowheight.md)
- [backgroundColor](appkit/nstableview/backgroundcolor.md)
- [usesAlternatingRowBackgroundColors](appkit/nstableview/usesalternatingrowbackgroundcolors.md)
- [style](appkit/nstableview/style-swift.property.md)
- [effectiveStyle](appkit/nstableview/effectivestyle.md)
- [NSTableView.Style](appkit/nstableview/style-swift.enum.md)
- [selectionHighlightStyle](appkit/nstableview/selectionhighlightstyle-swift.property.md)
- [gridColor](appkit/nstableview/gridcolor.md)
- [indicatorImage(in:)](appkit/nstableview/indicatorimage(in:).md)
- [setIndicatorImage(_:in:)](appkit/nstableview/setindicatorimage(_:in:).md)
