• 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: How to Create A TableView with Two Table Headers
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to Create A TableView with Two Table Headers


  • Subject: Re: How to Create A TableView with Two Table Headers
  • From: Jonathan Hendry <email@hidden>
  • Date: Wed, 25 Jan 2006 15:55:43 -0500

On Wednesday, January 25, 2006, at 02:45PM, Joshua Scott Emmons <email@hidden> wrote:

>> 	I am a newbie to Cocoa. In my application i need to create two
>> table headers for the tableview. One TableHeader is for Column
>> Heading and another one to group the columns (of first header view)
>
>It's not clear to me what you're trying to achieve here. Could you
>describe your table a little more, please? You say you want it to
>have "two table headers". So your table has two columns, right? For
>some reason, the default behavior of the column headers that
>NSTableView uses isn't working for you/isn't enough for what you
>want, right? So could you describe the behavior you are after?

No, he wants to have a two-row table header, with one header row having cells
sized to match the columns, and one header row having cells that span
multiple columns.

So it'd be something like

header 1: |Numbers          |Letters          |
header 2: |1     |2    |3   |a    |b    |c    |
row 1
row 2
row 3

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >How to Create A TableView with Two Table Headers (From: Janakiram <email@hidden>)
 >Re: How to Create A TableView with Two Table Headers (From: Joshua Scott Emmons <email@hidden>)

  • Prev by Date: Re: One pixel wide bezier path
  • Next by Date: Re: One pixel wide bezier path
  • Previous by thread: Re: How to Create A TableView with Two Table Headers
  • Next by thread: NSView setFrameSize
  • Index(es):
    • Date
    • Thread