• 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: Sorting a view based TableView with bindings
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Sorting a view based TableView with bindings


  • Subject: Re: Sorting a view based TableView with bindings
  • From: Quincey Morris <email@hidden>
  • Date: Thu, 02 May 2013 00:49:47 -0700

On May 2, 2013, at 00:31 , "Gerriet M. Denkmann" <email@hidden> wrote:

> When I click on the header nothing happens (except the current selection is set to none and the small triangle on the right side alternate between up and down).

At a wild guess, I'd suspect you neglected to bind the table's Sort Descriptors binding to the array controller's "sortDescriptors" property. This probably happens automatically for a cell-based table view, but perhaps (like the Content binding) needs to be done explicitly for a view-based table view.

> What am I missing?

Possibly that using bindings with a view-based table view is more trouble than it's worth? (I don't mean bindings to the cell view's objectValue. That's worth doing.) But I digress…

_______________________________________________

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


  • Follow-Ups:
    • Re: Sorting a view based TableView with bindings
      • From: "Gerriet M. Denkmann" <email@hidden>
References: 
 >Sorting a view based TableView with bindings (From: "Gerriet M. Denkmann" <email@hidden>)

  • Prev by Date: Sorting a view based TableView with bindings
  • Next by Date: Need advice: Object ownership and threading issue, causing a rare crash.
  • Previous by thread: Sorting a view based TableView with bindings
  • Next by thread: Re: Sorting a view based TableView with bindings
  • Index(es):
    • Date
    • Thread