Using NSCell to bold cells in a tableview
Using NSCell to bold cells in a tableview
- Subject: Using NSCell to bold cells in a tableview
- From: Ben Mackin <email@hidden>
- Date: Fri, 27 Dec 2002 11:38:13 -0800
I am trying to bold just certain rows in my NSTableView. So I have done the
following code (tableDateTime is the NSTableColumn, browserTableView is the
NSTableView):
NSCell *myCell = [tableDateTime dataCellForRow:([browserTableView
numberOfRows]+1)];
[myCell setFont:[NSFont boldSystemFontOfSize:12]];
However, it ends up bolding every row in my tableview. If anyone has some
thoughts, please let me know.
Thanks,
Ben
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.