Questions tagged [nstableviewheader]
8 questions
3
votes
2 answers
How to apply custom styling to NSTableHeaderView?
So I am going for a custom looking NSTableView. I've already successfully subclassed NSTableRowView and NSTextFieldCell to achieve the look I'm going for, however I'm struggling of getting rid of the default styling for the header. I seem to be able…

Martin Velchevski
- 874
- 11
- 33
0
votes
0 answers
Using Swift, how can I get the x-coordinate of an NSTableColumn while it is being dragged
I've tried using KVO on NSTableHeaderView.draggedDistance but didn't get anywhere - I might be incorrect but I assume because it is a computed property. NSTableView has .rect(ofColumn:) but as far as I'm aware this is also not something I can track.…

Cherub
- 17
- 4
0
votes
1 answer
Is it possible to extend a table header view so that it goes behind the first row of cells like a background?
There are 2 different versions of app, one with the table header view on top of the cells. The other version it's supposed to extend behind the first row of cells like a background, but still maintain its same starting position on top of the rows.…

SwiftyJD
- 5,257
- 7
- 41
- 92
0
votes
2 answers
Cannot see buttons on UITableView header
I follow here to add UITableView header, just create a View which include two buttons, however, cannot see two buttons when I run the app.
two overriden functions are:
- (CGFloat)tableView:(UITableView *)tableView…

James Hao
- 765
- 2
- 11
- 40
0
votes
0 answers
NSTableView and custom column header
In my DBGrid (in Windows) I have this:
1. When the mouse cursor is above the column header OR the filter is active - filter' icon is visible:
2. When the mouse cursor is outside the column header AND the filter is empty - filter' icon is…

kazuser
- 307
- 3
- 10
0
votes
0 answers
Can not modify header cell of Table View
My Cocoa app has a view-based table view.
The table displays a week of the calendar, where each column is a day from (say) Sunday to Saturday.
I would like to highlight the column that corresponds to "Today" in some way; ideally, give a colored…

Nicolas Miari
- 16,006
- 8
- 81
- 189
0
votes
0 answers
Customize table view header
I need to delete the padding between two section in a grouped style table view; then I need to insert a header upon each section, with a label that would be align center. This is my final purpose:
As you can see in the pictures the header label is…

Fabio Cenni
- 841
- 3
- 16
- 30
0
votes
3 answers
UITableviewHeader hides top cells
I'm setting the tableHeaderView of a UITableView, but it is hiding the top cells of the table. In my case, I want to show tableview header I have used all possible solutions but not works. Please help.
UIView *headerView =…

Mukesh Lokare
- 2,159
- 26
- 38