Re: Formatting the cells in NSTableView
Re: Formatting the cells in NSTableView
- Subject: Re: Formatting the cells in NSTableView
- From: Moray Taylor <email@hidden>
- Date: Sat, 24 Apr 2004 19:51:56 +0100
Hi,
I've not done this myself, so take with a pinch of salt, but you should
be able to use an NSFormatter attached to your prototype NSCell.
Cheers
Moray
Hello,
I am porting an application for designing and simulating rainwater
harvesting system
(http://homepage.mac.com/vsvyas/science.html#simtanka) from Visual
Basic to Cocoa.
I have a table in which the user enters monthly rainfall data using
- (void) tableView: (NSTableView *) view
setObjectValue: (id) object
forTableColumn: (NSTableColumn *) column
row: (int) row
I would like that user should be able to enter only positive numbers
in monthly rainfall columns, and a year greater than 1900 in the year
column. Would appreciate any help on this.
Thanks,
Vikram
_______________________________________________
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.
_______________________________________________
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.