Re: Sorting an NSOutlineView
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.