Re: Disable Sorting in NSTableView
Re: Disable Sorting in NSTableView
- Subject: Re: Disable Sorting in NSTableView
- From: Grant Limberg <email@hidden>
- Date: Sat, 25 Oct 2008 15:44:25 -0700
That did the trick! Thanks!
On Oct 25, 2008, at 1:33 AM, Quincey Morris wrote:
On Oct 24, 2008, at 20:57, Grant Limberg wrote:
Is it possible to disable the user's ability to resort the rows in
a table by clicking on the column header? I have a table view that
stores statistics in the order they are received by the program and
shouldn't be resorted. Is there a way to do this without removing
the column headers?
It's not obvious, but the way to do it is to uncheck the "creates
sort descriptor" binding of the column's "Value" binding.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
@glsoftware.net
This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden