Re: TableView sorts and then it doesn't--SOLVED

2011-03-23 Thread Lynn Barton
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 (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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

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


TableView sorts and then it doesn't

2011-03-20 Thread Lynn Barton
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 (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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

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


Re: TableView sorts and then it doesn't

2011-03-20 Thread Scott Anguish
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 (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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

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