• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Disallow sorting in NSTableViews
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Disallow sorting in NSTableViews (From: email@hidden)

  • Prev by Date: RE: Customizing the about window
  • Next by Date: Job Offer: Cocoa Client/Server/Graphics Software Engineer
  • Previous by thread: Re: Disallow sorting in NSTableViews
  • Next by thread: Top-aligned NSPopUpButtonCell?
  • Index(es):
    • Date
    • Thread