Re: Disable Sorting in NSTableView
Re: Disable Sorting in NSTableView
- Subject: Re: Disable Sorting in NSTableView
- From: Quincey Morris <email@hidden>
- Date: Sat, 25 Oct 2008 01:33:37 -0700
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:
This email sent to email@hidden