Re: Writing directly to NSTableView
Re: Writing directly to NSTableView
- Subject: Re: Writing directly to NSTableView
- From: Scott Anguish <email@hidden>
- Date: Sun, 3 Aug 2003 01:44:41 -0400
On Sunday, August 3, 2003, at 1:14 AM, Chris Hanson wrote:
On Saturday, August 2, 2003, at 09:16 AM, Sanri Parov wrote:
I'll explain myself better: even if a tableview it empty, by clickin'
on one of its cells, randomly, the content of the cell becomes
editable
and after I've inserted something into it (by pressing TAB) a selector
does its job.
You could probably insert a new, empty row when the user clicks on a
table.
It'd really be better not to try to subvert MVC here and make
NSTableView do data storage. You'll probably wind up with a better
interface in the long run.
Actually, I'd question if NSTableView is the appropriate object in
this case. It sounds like maybe this is a spreadsheet type of a
situation maybe. (NSMatrix perhaps is more appropriate)
_______________________________________________
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.