• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Using NSCell to bold cells in a tableview
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Re: Questions about retain (From: Sherm Pendley <email@hidden>)

  • Prev by Date: Child, parent and key windows
  • Next by Date: Re: Questions about retain
  • Previous by thread: Re: Questions about retain
  • Next by thread: Re: Questions about retain
  • Index(es):
    • Date
    • Thread