• 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
Can't sort NSTableView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Can't sort NSTableView


  • Subject: Can't sort NSTableView
  • From: Trygve Inda <email@hidden>
  • Date: Thu, 19 Jun 2008 16:16:48 +0000
  • Thread-topic: Can't sort NSTableView

I have an NSTableView tied to an NSArrayController

After I populate the array, the table does show the data via bindings on
each of the columns. However, clicking a column header does nothing - how
can I make it sort?

I have done this before in IB2 and it sorted ok, but I can't make this new
project sort.

The columns each have an identifier, sort key and selector (eg name, name,
compare:)

The ArrayController ObjectController class is set to NSMutableDictionary

Any ideas?

Trygve


_______________________________________________

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

  • Prev by Date: NSLineBreakByTruncatingMiddle on Selected Text?
  • Next by Date: Spaces bug when [NSTextView complete:] called?
  • Previous by thread: NSLineBreakByTruncatingMiddle on Selected Text?
  • Next by thread: Re: Can't sort NSTableView
  • Index(es):
    • Date
    • Thread