Re: creating an NSTableColumn
Re: creating an NSTableColumn
- Subject: Re: creating an NSTableColumn
- From: Chris Hanson <email@hidden>
- Date: Fri, 16 Jul 2004 09:43:02 -0700
On Jul 16, 2004, at 8:04 AM, John Spicer wrote:
Seemed the way was to find the row selected, and then read the value
in the cell for each column and then create the new object, add it to
the dictionary, and reload the table.
The table is just a view on the data, it isn't a container for the
data. So rather than reading data out of the table, you should be just
duplicating the model object that the table is displaying for that row.
However, I can't figure out how to create the NSTableView from just
knowing the name. Does anyone know how?
Could be there is an easier way and I just don't see it.
I'm not sure I understand this in the context of your question.
-- Chris
--
Chris Hanson <email@hidden>
http://www.livejournal.com/users/chanson/
_______________________________________________
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.