• 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: NSTableView - need something like tableView:shouldSelectRow:byExtendingSelection:?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTableView - need something like tableView:shouldSelectRow:byExtendingSelection:?


  • Subject: Re: NSTableView - need something like tableView:shouldSelectRow:byExtendingSelection:?
  • From: Corbin Dunn <email@hidden>
  • Date: Thu, 2 Jun 2005 10:53:33 -0700

tableView:shouldSelectRow:byExtendingSelection:

We have a feature request to add this type of delegate method.


Is there a way to determine from my delegate method whether or not we are extending the current selection? Some other way to get this functionality without the daunting task of subclassing and rewriting the mouseDown: method?

You should be able to subclass nstableview and override:

- (void)selectRowIndexes:(NSIndexSet *)indexes byExtendingSelection: (BOOL)extend;

Let me know if that works for you.

--corbin


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: NSTableView - need something like tableView:shouldSelectRow:byExtendingSelection:?
      • From: Jim Correia <email@hidden>
References: 
 >NSTableView - need something like tableView:shouldSelectRow:byExtendingSelection:? (From: Jim Correia <email@hidden>)

  • Prev by Date: Re: Spotlight, Content Indexing, and SearchKit integration questions
  • Next by Date: Re: Changing the size of the content view in side of a ScrollView
  • Previous by thread: NSTableView - need something like tableView:shouldSelectRow:byExtendingSelection:?
  • Next by thread: Re: NSTableView - need something like tableView:shouldSelectRow:byExtendingSelection:?
  • Index(es):
    • Date
    • Thread