• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Selecting only Rows (and not columns) in a TableView?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


References: 
 >Selecting only Rows (and not columns) in a TableView? (From: "Peter.Teeson" <email@hidden>)

  • Prev by Date: Re: Presetting instance variables when nib-loading
  • Next by Date: Re: 2nd click of a dbl click goes to wrong view?!
  • Previous by thread: Selecting only Rows (and not columns) in a TableView?
  • Next by thread: [Job Opportunity] Cocoa Developer Needed
  • Index(es):
    • Date
    • Thread