• 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
Re: NSTableView Row header
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTableView Row header


  • Subject: Re: NSTableView Row header
  • From: Moray Taylor <email@hidden>
  • Date: Sun, 8 Feb 2004 16:31:56 +0000

I think I haven't made myself clear, what I want is a 'header' (this is probably a misleading word to use, but I can't think of a better one) for each row, just like there is a header for each column, i.e. On a spreadsheet, the cells are bordered by a header that displays 'A','B','C' etc..., and there is also one for 1,2,3,4 etc.. It's the 1,2,3,4 one I want to do, and NSTableView does not seem to provide a way to do it.

Thanks

Moray

You can do it, but you have to modify the drawing. Override rectOfRow to return the first row in the same place each time.

On 7 Feb 2004, at 10:31 AM, Moray Taylor wrote:

At the moment I simply use the first table column as the 'row header', I also manipulate it's appearance so it looks like the Column Header, but of course, when I scroll horizontally, it disappears.
_______________________________________________
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.
_______________________________________________
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.

  • Follow-Ups:
    • Re: NSTableView Row header
      • From: Andreas Mayer <email@hidden>
References: 
 >NSTableView Row header (From: Moray Taylor <email@hidden>)
 >Re: NSTableView Row header (From: Herr Witten <email@hidden>)

  • Prev by Date: Re: NSTableView Row header
  • Next by Date: Re: NSTableView fontsize
  • Previous by thread: Re: NSTableView Row header
  • Next by thread: Re: NSTableView Row header
  • Index(es):
    • Date
    • Thread