Selecting a cell within NSTableView
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.