|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|
|iPhone: Sync Problem driving me nuts...||serratedauto||iOS 7||0||Sep 29, 2013 06:01 PM|
|Ghost of an IP past...driving us NUTS!||OldManEmu||Mac Basics and Help||3||Jul 8, 2013 10:38 AM|
|Mac Mail Driving Me Nuts||Cuechick||OS X 10.8 Mountain Lion||3||Feb 21, 2013 12:40 PM|
|OS X: Bootcamp is driving me nuts, please help!||Raisen223||Mac and PC Games||12||Nov 28, 2012 06:24 PM|
|screensaver driving me nuts||dowser81||OS X 10.8 Mountain Lion||5||Nov 8, 2012 05:41 PM|
All times are GMT -5. The time now is 06:24 AM.