• 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
NSTableHeaderCell setEditable issue
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSTableHeaderCell setEditable issue


  • Subject: NSTableHeaderCell setEditable issue
  • From: Birch Browning <email@hidden>
  • Date: Thu, 5 Jan 2006 13:43:07 -0800 (PST)

I have a table is populated with this:

while (columnString =
[detailColumnIdentifiersEnumerator nextObject])
	{
	  NSLog(@"columnString = %@",columnString);
	  NSTableColumn *theColumn = [[NSTableColumn alloc]
init];
	  NSTableHeaderCell *headerCell =[[NSTableHeaderCell
alloc]init];
	  [headerCell setTitle:columnString];
	  [headerCell setSelectable:YES];
	  [headerCell setEditable:YES];
	  [theColumn setIdentifier:columnString];
	  [theColumn setHeaderCell:headerCell];
	  [theColumn setEditable:YES];
	  [CustomButtonDetailView addTableColumn:theColumn];
	  [headerCell release];
	  [theColumn release];

	}

It all works correctly except that the table column
headers are not user editable - the table cells are
editable, but not the headers.

Any suggestions are greatly appreciated.

Boomer
 _______________________________________________
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

  • Follow-Ups:
    • Re: NSTableHeaderCell setEditable issue
      • From: Corbin Dunn <email@hidden>
  • Prev by Date: Re: Horizontally scrolling NSTextView in IB
  • Next by Date: NSMatrix cell at 0,0 acts differently from other cells
  • Previous by thread: Re: Horizontally scrolling NSTextView in IB
  • Next by thread: Re: NSTableHeaderCell setEditable issue
  • Index(es):
    • Date
    • Thread