I have a cell-based TableView which is filled via ArrayController using 
bindings.
Sorting just works.

Now I changed this to a view-based TableView and suddenly no more automatic 
sorting.
It has just one column which uses an NSTableCellView. 
The Static Text has it's Value bound to Table Cell View objectValue.Name.

And I want the column to be sorted via localizedCaseInsensitiveCompare:.

I tried to set in “Table Column Attributes inspector”:
Sort Key = objectValue.Name or Name
Selector = localizedCaseInsensitiveCompare (with trailing : or not)
The values seems to be irrelevant; anything non-nil activates the up/down 
triangle. But nothing changes the order of the rows.

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).

What am I missing? What documentation should I read?

Gerriet.


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to