Re: Sorting an NSOutlineView
Re: Sorting an NSOutlineView
- Subject: Re: Sorting an NSOutlineView
- From: email@hidden (Simon Fraser)
- Date: Tue, 4 Feb 2003 09:49:24 -0800
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.