|
#1
| |||
| |||
| Editing text in NSTableView - How? Greetings, all. I'm having some difficulty with a tableView. The problem goes like this: I have a single column table, and I want to be able to edit the names in the cells. Unfortunately, what it does is allow me to type into the cell, and then when I redisplay the data it looks to my data source, which of course still contains the old data. How do I move the string in the cell I just edited into my datasource? I have one class that is both the datasource and delegate for this table. TIA chocolate |
|
#2
| |||
| |||
| If your data-source implements tableView:setObjectValue:forTableColumn:row: then you should be all set -- Cocoa should call it when you're done editing. -- browncat |
![]() |
| Thread Tools | |
|
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Help with HOME & END usage in text editing... | NinoAvila | Mac OS X System & Mac Software | 4 | April 10th, 2003 03:56 AM |
| Best text Printer? | callieX | Apple News, Rumors & Discussion | 2 | February 23rd, 2002 08:34 PM |
| How to set the AA threshold of Cocoa text | strobe | Mac OS X System & Mac Software | 0 | April 25th, 2001 01:33 AM |
| anyone know about basic text editing is OS X 10.0 (html)? | bolindilly | Mac OS X System & Mac Software | 9 | April 4th, 2001 05:49 PM |
| Editing plain old text files | Allan Crowson | Mac OS X System & Mac Software | 6 | December 4th, 2000 11:19 AM |