Re: trouble keeping NSTableView sorted
Re: trouble keeping NSTableView sorted
- Subject: Re: trouble keeping NSTableView sorted
- From: Wdyp <email@hidden>
- Date: Fri, 7 Dec 2007 21:11:07 +0100
If you mean that you want a set sort order that the user can't
change, then
bind the tablevew's selectionIndexes to the array controller. This
will
disable column header sorting.
Untrue: by nib awakening the table will be sorted according to the bound
sort descriptors array but the user can still click on a column header
to sort
the array differently.
If you want this to be disabled you’ve got to uncheck the Create sort
descriptors
binding option for each column value binding.
Flofl._______________________________________________
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