Re: sorting on floats
Re: sorting on floats
- Subject: Re: sorting on floats
- From: mmalcolm crawford <email@hidden>
- Date: Tue, 7 Dec 2004 16:59:01 -0800
On Dec 7, 2004, at 3:47 PM, John Spicer wrote:
I've got a table and one of the columns is a money value (float, with
$$formatter).
When I click on the column header, it does not sort correctly. It
seems to sort on the length (or first digit) instead of the whole
value.
I have set the sort descriptor in the nib to compare:
That should Just Work. Compare the "To Dos" example at:
<http://homepage.mac.com/mmalc/CocoaExamples/controllers.html>
What bindings etc. do you have set up for the column? Are you sorting
on the float attribute?
mmalc
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden