• 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: Sorting an NSOutlineView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Sorting an NSOutlineView


  • Subject: Re: Sorting an NSOutlineView
  • From: olivier <email@hidden>
  • Date: Tue, 4 Feb 2003 14:38:19 -0600

It will be called if in your nib file you turn "can select header" on.

Olivier
On Tuesday, February 4, 2003, at 11:49 AM, Simon Fraser wrote:

On Monday, February 3, 2003, at 10:01 pm, Simon Fraser wrote:

Is there a trick to get [tableView:didClickTableColum:] to be called on the delegate
of an NSOutlineView, so that I can implement sorting? This works fine for
an NSTableView, but not for an NSOutlineView.

The only thing I can think of is to implement [outlineView: shouldSelectTableColumn:]
in the delegate, but this is called before the click, not after.

Actually, I discovered that [outlineView: shouldSelectTableColumn:] is not
sufficient for this, as it doesn't get called when you click on the header
of an already-selected column.

There has to be a way to do this. Anyone?

Simon
_______________________________________________
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.

References: 
 >Re: Sorting an NSOutlineView (From: email@hidden (Simon Fraser))

  • Prev by Date: __attribute__ section not supported?
  • Next by Date: Re: Disadvantages of Bridging Java in Objective-C Cocoa Apps
  • Previous by thread: Re: Sorting an NSOutlineView
  • Next by thread: Re: Sorting an NSOutlineView
  • Index(es):
    • Date
    • Thread