Re: Unselectable NSTableView with selectable cell controls
Re: Unselectable NSTableView with selectable cell controls
- Subject: Re: Unselectable NSTableView with selectable cell controls
- From: Glen Low <email@hidden>
- Date: Sun, 24 Jun 2007 16:47:44 +0800
Ryan
Doesn't seem to work... the table view still highlights the row,
except for a tiny gap between columns.
On 24/06/2007, at 1:12 AM, Ryan Britton wrote:
You could override - (void)highlightSelectionInClipRect:(NSRect)
clipRect to just hide the selection indicator.
On Jun 22, 2007, at 7:04 PM, Glen Low wrote:
Hi All
I'm trying to achieve a UI like the Address Book edit screen or
the iCal drawer screen -- an arbitrary list of keys and values,
where the values can be edited. To that end, I've created an
NSTableView with a window-colored background, no column headers or
grid lines or scroll bars. The data cell is a NSSegmentedCell. It
all works fine, except that when I click on a row, it appears
selected, since after all it's just a table view.
How do I suppress the row selection UI? If I handle the
tableView:shouldSelectRow: delegate method and return NO to
prevent any selection from happening, the cell controls become
unclickable.
Cheers, Glen Low
---
pixelglow software | simply brilliant stuff
www.pixelglow.com
aim: pixglen
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
Cheers, Glen Low
---
pixelglow software | simply brilliant stuff
www.pixelglow.com
aim: pixglen
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden