|Nov 26, 2012, 02:55 PM||#1|
View-based table view losing selection highlight
I have a view-based NSTableView and when the selection changes I send a reloadData message to it. When it was cell-based the selected rows would maintain their highlight, after I moved it to being view-based the selected rows no longer keep their highlight. Any ideas?
|Nov 28, 2012, 02:02 AM||#2|
If you're using bindings, does the array controller have the "preserve selection" attribute checked in IB?
But I think I'm seeing the same behavior where -reloadData would deselect rows even though "preserve selection" is on. It should be possible to keep a reference to the array's selected objects (via the -selectedObjects key) and select them again.
|Thread Tools||Search this Thread|
|thread||Thread Starter||Forum||Replies||Last Post|
|Table View to Detail View||hammy35||iPhone/iPad Programming||3||Apr 16, 2014 02:33 AM|
|Find location of table view cell that calls view controller||moonman239||iPhone/iPad Programming||3||Nov 24, 2012 06:31 PM|
|View based table view layout woes||Starfox||Mac Programming||0||Nov 8, 2012 11:50 PM|
|Pushing to a Detail View from a Table View Cell using Xcode Storyboard||xcodeApp10||iPhone/iPad Programming||2||Sep 17, 2012 04:45 PM|
|Idea: View-Based Notifications (Instead of Focus-Based)||faroZ06||OS X 10.8 Mountain Lion||0||Jul 28, 2012 01:32 PM|
All times are GMT -5. The time now is 11:33 AM.