• 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
Selecting a cell within NSTableView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Selecting a cell within NSTableView


  • Subject: Selecting a cell within NSTableView
  • From: "Frederick C. Lee" <email@hidden>
  • Date: Tue, 6 Jul 2004 14:25:28 -0700

Simple question:

How to you programmatically select a specific cell of a NSTableView?

Scenario: only the first column is editable, hence double-clicking on the row outside of the first column selects the record.

An alert is triggered if the editable (1st) column needs data. Hence the need to programmatically select the first column of the row.

I've tried the NSControl's performClick() but that didn't do anything; I need to simulate a double-click to select the first column.

Also, I need the coordinates of the particular cell to select.

This must be a very common feature/procedure. But I haven't yet found the (simple?) solution.

Any ideas?

Regards,

Ric.
_______________________________________________
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.


  • Follow-Ups:
    • Re: Selecting a cell within NSTableView
      • From: Todd Ransom <email@hidden>
  • Prev by Date: WebView in Cocoa Java
  • Next by Date: Objective-C and JDBC
  • Previous by thread: WebView in Cocoa Java
  • Next by thread: Re: Selecting a cell within NSTableView
  • Index(es):
    • Date
    • Thread