• 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
TableView delegation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

TableView delegation


  • Subject: TableView delegation
  • From: John H Moody <email@hidden>
  • Date: Tue, 22 Jan 2002 12:47:49 -0800

I have a TableView with only one column, displaying alphabetically the last
name, first name of individuals within a MutableArray.

As the number of rows within the TableView grows quite lengthy, I'd like to
provide a quick way of filtering rows by adding a TextField above the
TableView into which a user could type the first or last name of the
individual, and as the user types, the TableView filters records containing
only the characters typed. This would be equivalent to the filtering of
emails available within Entourage.

Is this properly handled with a delegate method such as:

- (BOOL)tableView:(NSTableView *)aTableView shouldSelectRow:(int)rowIndex


Thank you for your assistance.

John Moody
email@hidden


  • Prev by Date: Re: Initializing an Array
  • Next by Date: Re: Initializing an Array
  • Previous by thread: Re: Question about movePath
  • Next by thread: Re: TableView delegation
  • Index(es):
    • Date
    • Thread