Questions tagged [nstablecolumn]

The NSTableColumn class stores the display characteristics and attribute identifier for a column in an NSTableView instance.

The NSTableColumn class stores the display characteristics and attribute identifier for a column in an NSTableView instance.

More: NSTableColumn Class Reference

82 questions
0
votes
2 answers

NSTableView error -[__NSCFConstantString setFrame:]

all. when I use NSTableView, it will give me the following errors as long as it reaches in this function. -(id)tableView:(NSTableView *)tableView viewForTableColumn:(NSTableColumn *)tableColumn row:(NSInteger)row{ USBInfor* usbInfor =…
YU FENG
  • 888
  • 1
  • 12
  • 29
0
votes
1 answer

Cocoa: NSTableView DataSource doesn't set title

I am trying to set text value of cell: - (id)tableView:(NSTableView *)tableView objectValueForTableColumn:(NSTableColumn *)tableColumn row:(NSInteger)row { if ([[[tableColumn headerCell] stringValue] isEqualToString:@"Title"]) { …
egor.zhdan
  • 4,555
  • 6
  • 39
  • 53
0
votes
1 answer

CoreData Binding and custom Cell

I have an app with a CoreData Database and a NSTableView. I want to do a customCell with 3 key values from database. So I create an NSTextFieldCell Class but the binding is only for a key value. How I can programmatically bind a NSTableColumn with…
Simon V.
  • 109
  • 1
  • 9
0
votes
2 answers

NSArrayController populates NSTableView but doesn't set the cell title

I have a two column NSTableView that I want to populate with entries grabbed from a CSV file. Everything works fine except the title of each of the table cells isn't set. Here's the function that is called for each row in the NSArray -…
user1767172
0
votes
1 answer

Can't create a UITableViewDataSource

I'm trying to creat a UITableViewDataSource, but am getting an error on the following: - (id) tableView:(NSTableView *) aTableView objectValueForTableColumn:(NSTableColumn *) aTableColumn row:(NSInteger) rowIndex { return nil; } The error that…
Travis Jensen
  • 5,362
  • 3
  • 36
  • 40
0
votes
3 answers

Getting a column in an NSTableView with editable column order

I have an NSTableView where I would like to be notified if the user clicks in a column "ClickMe". I linked the entire table view to a method which can extract the clickedColumn:, but I get an absolute number and not a reference to the "ClickMe"…
Carelinkz
  • 936
  • 8
  • 27
0
votes
2 answers

Removing a column and its header from an NSTableView

NOTE: Andrew's response caused me to take yet another look. This feature is buried deep in a large application which has in internal timer. If that timer is off I get the wrong behavior described here. If the timer is on things work as expected.…
garyp
  • 967
  • 7
  • 36
1 2 3 4 5
6