NSOutlineView Table Column Clicks
NSOutlineView Table Column Clicks
- Subject: NSOutlineView Table Column Clicks
- From: Jordan Matthiesen <email@hidden>
- Date: Tue, 23 Oct 2001 22:00:43 -0700
I've been trying to tackle an issue for awhile now, and so far have had
no luck... I want to have some code execute in the mouse up of a column
header in an NSOutlineView. I see how to do this with an NSTableView,
but unfortunately the "tableView:didClickTableColumn:" method does not
get called for the outline view. I've tried creating a subclass of
NSTableHeaderCell and overriding the "trackMouse: inRect: ofView:
untilMouseUp:" method, but it does not execute the NSLog() statement I
put in it (I did instantiate an object from my subclass and associate it
with one of the NSTableColumn objects in the OutlineView using
NSTableColumn setHeaderCell:). I thought this is what was recommended
to people trying similar things, but I can't seem to get it to work.
Does anyone have any ideas? Thanks!
Jordan Matthiesen
email@hidden