|Jan 29, 2009, 06:13 PM||#1|
NSTableView Multiple textfield cells in one cell, driving me nuts.
I've been trying to get this to work all day and I just can't get it. I have two items showing in the cell but I can't figure out how to change the text once it's there.
Would I have to do something in this method?
|Jan 30, 2009, 12:03 AM||#2|
There are two ways. One would be to use your current method and return some object that stores both values (such as a dictionary) and then retrieve that dictionary in your custom cell via the objectValue method (or override the setObjectValue: method and update your text fields there), or write accessor methods to those text fields in the cell and set them appropriately in tableView:willDisplayCell:forTableColumn:row:
Last edited by kainjow; Jan 30, 2009 at 12:17 AM.
|Thread Tools||Search this Thread|
|thread||Thread Starter||Forum||Replies||Last Post|
|NSTableview with different cells in one column||Boghog||Mac Programming||3||Mar 7, 2010 08:19 PM|
|New iMac, Hard Drive Noise... Driving me nuts!||JustiNYCity||iMac||11||Oct 20, 2009 08:42 AM|
|prob with menus in Safari - driving me nuts !||carlsberg||Web Design and Development||3||Jun 2, 2007 09:15 PM|
|computer "noise" in my speakers driving me nuts||LethalWolfe||Digital Audio||8||Sep 17, 2006 10:01 PM|
All times are GMT -5. The time now is 04:51 PM.