• 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.
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.


  • Prev by Date: Re: Static data?
  • Next by Date: shell script to selectively copy files?
  • Previous by thread: Re: DEPLOYMENT_POSTPROCESSING
  • Next by thread: shell script to selectively copy files?
  • Index(es):
    • Date
    • Thread