Re: TableView sorts and then it doesn't--SOLVED
Re: TableView sorts and then it doesn't--SOLVED
- Subject: Re: TableView sorts and then it doesn't--SOLVED
- From: Lynn Barton <email@hidden>
- Date: Wed, 23 Mar 2011 16:31:54 -0700
Problem solved. The sort key for the decimal property was misspelled in the table column attributes in IB.
On Mar 20, 2011, at 8:48 PM, Scott Anguish wrote:
> have you implemented the delegate methods?
>
> is the array mutable? or do you supply a new array that is sorted? do you reload the data?
>
>
> On Mar 20, 2011, at 8:44 PM, Lynn Barton wrote:
>
>> I have a document based application. The document window has an NSTableView with six columns. Four columns are bound to four text properties of an entity in my model; one column is bound to a decimal property, and one column has check boxes bound to a boolean property. When I run the application and open the saved document I can sort the text columns and the check box column by clicking on their headers. But once I click on the decimal column header, not only does it not sort but none of the other columns will sort after that. What's going on here?
>
_______________________________________________
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