Re: Data Source ignored after binding sortDescriptors
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