NSFormatter how to use ?
NSFormatter how to use ?
- Subject: NSFormatter how to use ?
- From: Robert Miller <email@hidden>
- Date: Mon, 28 Oct 2002 12:03:23 -0500
Hello,
I hope someone can help me. I'm trying to use an NSDateFormatter in my
table and I'm calling the NSCell setFormatter: method for the data cell
of a particular column of the table. My data source for the table is a
custom class which returns strings and in this case simply the row and
column of the cell for debug display. When I set the column cell's
formatter the data in the cells disappears from display once the table
is updated, (I guess as expected because the initial cell data is
invalid). But, then if I type a valid date into a cell fro the date
column, as I tab out the cell becomes empty again, although clicking
into the cell briefly displays the text entered previously. has anyone
else seen this behavior ? Is there some trick to getting a formatter to
work properly for a table cell ?
Thanks for any info in advance,
Regards,
Bob M.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.