Re: Selecting only Rows (and not columns) in a TableView?
Re: Selecting only Rows (and not columns) in a TableView?
- Subject: Re: Selecting only Rows (and not columns) in a TableView?
- From: David Blanton <email@hidden>
- Date: Mon, 29 Mar 2004 19:57:37 -0700
On 3/29/04 6:11 PM, "Peter.Teeson" <email@hidden> wrote:
>
Using IB there is a checkbox in a TableView for Multiple Selections.
>
This permits multiple selections of Columns and Rows.
>
But I only want to permit multiple Row selection and a single Column
>
selection.
>
Can you please point me at an example of how to do this.
>
>
TIA
>
>
respect...
>
>
Peter
>
_______________________________________________
>
cocoa-dev mailing list | email@hidden
>
Help/Unsubscribe/Archives:
>
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
>
Do not post admin requests to the list. They will be ignored.
>
>
- (BOOL)tableView:(NSTableView *)aTableView
shouldSelectTableColumn:(NSTableColumn *)aTableColumn
Returns YES to permit aTableView to select aTableColumn, NO to deny
permission. The delegate can implement this method to disallow selection of
particular columns.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.