NSDatePickerCell in an NSTableView
NSDatePickerCell in an NSTableView
- Subject: NSDatePickerCell in an NSTableView
- From: Wil Turner <email@hidden>
- Date: Wed, 11 May 2005 14:48:29 -0400
Hi, I've been working with the new NSDatePicker UI element and have run into a small problem. I'd like to set the dataCell of an NSTableColumn as a date picker. It works, except that editing the date only works on the hour field (I'm displaying hours/minutes only) of the date using the arrow button in the cell. Here's the code where I set the dataCell:
NSDatePicker *datePicker = [[NSDatePicker alloc] init]; [datePicker setDatePickerElements:NSHourMinuteDatePickerElementFlag]; [startCol setDataCell:[datePicker cell]];
I've also tried just creating the NSDatePickerCell directly rather than the NSDatePicker, but that doesn't seem to matter.
Thanks,
Wil |
_______________________________________________
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