Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7976743
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T08:59:27+00:00 2026-06-04T08:59:27+00:00

BACKGROUND: I have a tableview with a list of names. When you click on

  • 0

BACKGROUND:

I have a tableview with a list of names. When you click on a name in the list, it displays additional detail information in another section of the window. Everything is connected and is working correctly.

However…

I would like to use Type Select with this table and have run into the following snag:

When I start typing a name (while the table is selected) it correctly highlights the appropriate name in the table BUT the detailed information to the right of the table does not change.

I know the reason is the code for changing the detail information is in an IBAction method which is only called when you click to select a name in the list, and uses the [sender clickedRow] call to get the index of the selected name.

I also suspect that I need to use the [tableView selectedRow] (since it is being selected, but you are not clicking on it) but I am not quite certain where or how to perform this check.

I’m also thinking that since “type select” isn’t sending an action message, I won’t be able to use [sender selectedRow] but rather will use [tableView selectedRow]…

QUESTION:

How can I tell when the selected row in a tableview has changed via type select?

Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T08:59:29+00:00Added an answer on June 4, 2026 at 8:59 am

    Implement the tableViewSelectionDidChange: delegate method in your controller, and ensure that your controller is the NSTableView‘s delegate.

    You could update your view with something like:

    - (void)tableViewSelectionDidChange:(NSNotification *)aNotification {
        [relatedView updateInformationFromRow:[[aNotification object] selectedRow]];
    }
    

    From the documentation:

    tableViewSelectionDidChange: Informs the delegate that the table
    view’s selection has changed.

    Within that, you would update your related view. You could use the aNotification‘s object, which will be a NSTableViewSelectionDidChangeNotification, again from the documentation, is:

    Posted after an NSTableView object’s selection changes. The
    notification object is the table view whose selection changed. This
    notification does not contain a userInfo dictionary.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a custom tableview cell created programmatically that consists of: a background view
i am confused with custom background image in section. i have set an custom
I have two tableView sections, sometimes the first section dosen't have any data in
I have added a background image to my tableview . But when i pull
I have this code to set the background image of the UITableViewController: self.tableView.backgroundColor =
Currently I have this code that changes the default background in a TableView to
I have a table view with a list of items. When I click on
i have one tableview with style grouped. in this i set background color clearcolor
I have a grouped tableview which I set its background like this in viewDidload;
Background: I have implemented a standard tableView that has 4 sections. Each of the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.