Re: Disallow sorting in NSTableViews
Re: Disallow sorting in NSTableViews
- Subject: Re: Disallow sorting in NSTableViews
- From: Rob Chahin <email@hidden>
- Date: Wed, 13 Sep 2006 14:46:53 +0100
And after I spent so long looking for a way to implement sorting..
Did you write the sorting implementation yourself, and are looking
for a way to disable it under certain conditions?
If this is behaviour being provided by IB, have you tried just
unsetting the sort key?
(I don't know a lot about bindings, so I have no idea why it would be
sorting if you didn't want it to)
Rob Chahin
On 12 Sep 2006, at 18:45, email@hidden wrote:
I must be missing something, but I have not been able to figure out
how to
disallow sorting of the table columns in an NSTableView. The only
solution that I have thought of is to subclass an
NSTableHeaderView, and
do nothing in the mouseDown: method.
Suggestions on other ways to disallow sorting?
Thanks in advance.
Pat
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden