NSOutlineView's delegate is missing equivalent NSTableView delegate methods
NSOutlineView's delegate is missing equivalent NSTableView delegate methods
- Subject: NSOutlineView's delegate is missing equivalent NSTableView delegate methods
- From: Itrat Khan <email@hidden>
- Date: Wed, 3 Jul 2002 11:43:30 -0400
NSOutlineView does not offer delegate messages for some of the messages
that NSTableView offers, such as:
tableView:didClickTableColumn:
tableView:mouseDownInHeaderOfTableColumn:
and probably a bunch of others. Why is this? I want to respond to a
click in an outline table column's header so I can change the sort
column. I suppose I could do this when my delegate returns a result for
outlineView:shouldSelectTableColumn:, but a didClick method would have
been more appropriate. I tried implementing NSTableView's delegate
method, in hopes that the superclass might also send those messages, but
they didn't have any effect.
While I think I can work around the missing delegate messages, can
someone explain why NSOutlineView doesn't offer them, or whether there
is another way a controller is supposed to respond to clicks in an
outline view's header?
Thanks,
Itrat.
............................................................
Modeless Software, Inc.
London, Ontario (Canada)
Tel: +1 519 473 2037
Web: www.modeless.com
_______________________________________________
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.