• 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
Programmatically click a column header in NSTableView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Programmatically click a column header in NSTableView


  • Subject: Programmatically click a column header in NSTableView
  • From: Tristan Jehan <email@hidden>
  • Date: Tue, 23 Jan 2007 15:07:41 -0500

Dear list,

I've been trying to programmatically click an NSTableHeaderCell to force the NSTableView to resort the data, and change its current highlighted header to the new one. The following has no effect and I don't understand why... Could someone help? Thank you.

NSTableColumn *myIndexColumn = [myTableView tableColumnWithIdentifier:@"index"];
[[myIndexColumn headerCell] performClick:self];
NSLog(@"myCell: %@", [myIndexColumn headerCell]); // exists...


Tristan
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Re: Setting file visibility in Cocoa
  • Next by Date: Re: NSTextView Lucida Grande/Helvetica problem
  • Previous by thread: Re: Setting file visibility in Cocoa
  • Next by thread: Re: Programmatically click a column header in NSTableView
  • Index(es):
    • Date
    • Thread