Re: Monitoring the selection in an NSOutlineView
Re: Monitoring the selection in an NSOutlineView
- Subject: Re: Monitoring the selection in an NSOutlineView
- From: Andrew Pinski <email@hidden>
- Date: Wed, 12 Feb 2003 17:25:06 -0800
What about keep what is selected?
This is what I do for my app so that when you sort by a column, the
selected rows will still be selected.
Thanks,
Andrew Pinski
On Wednesday, Feb 12, 2003, at 14:31 US/Pacific, Charles Srstka wrote:
Is there any way to determine exactly *what* is changing when an
NSOutlineView's selection changes? I'd like to know exactly which row
is changing, and whether it will become selected or deselected.
I've thought about storing the current selection in an instance
variable in outlineView:shouldSelectItem: and then comparing it with
current selection in outlineViewSelectionDidChange:, but this isn't
very elegant, and doesn't work if someone deselects something anyway.
Anything obvious I'm missing?
Thanks,
Charles
_______________________________________________
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.