Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "selected" table view column header



Thanks. I was hoping there was a way to get this directly from the table, so I wouldn't have to store a value and also so I could determine the value at launch (which would not involve a click). 


On Thursday, May 31, 2007, at 09:26PM, "Sam Stigler" <email@hidden> wrote:
>Hi,
>
>	You might try NSTableView's - (void)tableView:(NSTableView *) 
>tableView didClickTableColumn:(NSTableColumn *)tableColumn delegate  
>method.  I'm not sure if it will work with bindings (I've had trouble  
>with delegate methods and bindings before), but it looks like a good  
>alternative.  It would involve you first making an IBOutlet for each  
>table column, so you would know what the tableColumn variable was  
>referring to.
>
>
>On Jun 1, 2007, at 7:30 AM, Mitchell Livingston wrote:
>
>> Hello,
>>
>> I feel like I'm missing something obvious. I want to determine  
>> which column in a table view is "selected" (although I have  
>> disabled column selection, I still want to know which column is  
>> colored with the sort arrow). Checking both selectedColumn and  
>> highlightedTableColumn didn't work.
>>
>> Thanks,
>> Mitchell Livingston
>> _______________________________________________
>>
>> Cocoa-dev mailing list (email@hidden)
>>
>> 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:
>> http://lists.apple.com/mailman/options/cocoa-dev/sstigler_lists% 
>> 40mac.com
>>
>> This email sent to email@hidden
>
>
_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden

References: 
 >"selected" table view column header (From: Mitchell Livingston <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.