---
title: "browser(_:heightOfRow:inColumn:)"
framework: appkit
role: symbol
role_heading: Instance Method
path: "appkit/nsbrowserdelegate/browser(_:heightofrow:incolumn:)"
---

# browser(_:heightOfRow:inColumn:)

Specifies the height of the specified row in the specified column.

## Declaration

```swift
@MainActor optional func browser(_ browser: NSBrowser, heightOfRow row: Int, inColumn columnIndex: Int) -> CGFloat
```

## Parameters

- `browser`: The browser.
- `row`: The index of the row.
- `columnIndex`: The index of the column.

## Return Value

Return Value The height to set for the specified row, which must be greater than 0.

## Discussion

Discussion The values returned for this method may be cached. Therefore, you should call noteHeightOfRowsWithIndexesChanged(_:inColumn:) to invalidate a row’s height before changing it.

## See Also

### Sizing

- [browser(_:shouldSizeColumn:forUserResize:toWidth:)](appkit/nsbrowserdelegate/browser(_:shouldsizecolumn:foruserresize:towidth:).md)
- [browser(_:sizeToFitWidthOfColumn:)](appkit/nsbrowserdelegate/browser(_:sizetofitwidthofcolumn:).md)
- [browserColumnConfigurationDidChange(_:)](appkit/nsbrowserdelegate/browsercolumnconfigurationdidchange(_:).md)
