Re: "selected" table view column header
Re: "selected" table view column header
- Subject: Re: "selected" table view column header
- From: Mitchell Livingston <email@hidden>
- Date: Thu, 31 May 2007 18:29:35 -0700
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:
>> 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:
This email sent to email@hidden