Alex
Alex

Reputation: 5119

View-based NSTableView with floating group rows

This is actually a pretty simple question: Is there any way of making a group row's view on a view-based NSTableView float without making it also transparent?

Upvotes: 2

Views: 1731

Answers (1)

Daij-Djan
Daij-Djan

Reputation: 50109

use a custom cell that draws however you like - the floating is only placing the cell inside the table.

Normally the RowView draws the bg for all cells, the default ones dont draw any own background. that is what you have to do in your cell -- have it draw a bg on its own and not rely on the TableRowView

Upvotes: 1

Related Questions