• 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: Data Source ignored after binding sortDescriptors
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Data Source ignored after binding sortDescriptors


  • Subject: Re: Data Source ignored after binding sortDescriptors
  • From: Keary Suska <email@hidden>
  • Date: Tue, 09 Oct 2007 15:37:41 -0600
  • Thread-topic: Data Source ignored after binding sortDescriptors

on 10/9/07 12:09 PM, email@hidden purportedly said:

> After establishing a binding for an NSTableView's sortDescriptors, my
> data source methods -numberOfRowsInTableView: and -
> tableView:objectValueForTableColumn:row: stop getting called. But I
> haven't bound the table view's content or any columns in the table
> view--just the sortDescriptors.. Is it really impossible to use a
> data source to supply table values and use bindings to synchronize
> the sort descriptors?

There are certain "automagical" bindings that occur when setting certain
bindings (particularly column value bindings), and you may be running into
one of these. Why not set an outlet and use -setSortDescriptors: instead?

Best,

Keary Suska
Esoteritech, Inc.
"Demystifying technology for your home or business"


_______________________________________________

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: Data Source ignored after binding sortDescriptors
      • From: Allen Smith <email@hidden>
References: 
 >Data Source ignored after binding sortDescriptors (From: Allen Smith <email@hidden>)

  • Prev by Date: Re: Keynote Slide Aggregator and XML Schema
  • Next by Date: Re: Drag an drop in a custom NSView
  • Previous by thread: Data Source ignored after binding sortDescriptors
  • Next by thread: Re: Data Source ignored after binding sortDescriptors
  • Index(es):
    • Date
    • Thread