|Jan 29, 2009, 05: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 29, 2009, 11:03 PM||#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 29, 2009 at 11:17 PM.
|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 07:19 PM|
|New iMac, Hard Drive Noise... Driving me nuts!||JustiNYCity||iMac||11||Oct 20, 2009 07:42 AM|
|prob with menus in Safari - driving me nuts !||carlsberg||Web Design and Development||3||Jun 2, 2007 08:15 PM|
|computer "noise" in my speakers driving me nuts||LethalWolfe||Digital Audio||8||Sep 17, 2006 09:01 PM|
All times are GMT -5. The time now is 07:09 AM.