RE: Stop editing a table cell
RE: Stop editing a table cell
- Subject: RE: Stop editing a table cell
- From: "Jonathan E. Jackel" <email@hidden>
- Date: Mon, 24 Nov 2003 12:52:12 -0500
Rather than dealing with the cell, have you tried [tableView deselectAll]?
Jonathan
>
-----Original Message-----
>
From: email@hidden
>
[mailto:email@hidden]On Behalf Of Darrin Cardani
>
Sent: Monday, November 24, 2003 12:29 PM
>
To: email@hidden
>
Subject: Stop editing a table cell
>
>
>
I have a table that has editable text in it. There's a popup menu
>
that allows the user to switch the data displayed in the table to
>
another language. If they are in the middle of editing a cell, and
>
change the value in the popup, I want to first accept the text they
>
were editing, then switch to showing the data in the other language.
>
>
Looking through the docs, it appears that I need to get the table
>
column that's being edited, get its dataCell, then send the dataCell
>
the endEditing: message. The problem is I don't know what to pass as
>
the textObj parameter.
>
>
Am I approaching this in the right way? If so, what is the
>
appropriate thing to pass for the textObj parameter?
>
>
Thanks,
>
Darrin
>
--
>
Darrin Cardani - email@hidden
>
President, Buena Software, Inc.
>
<http://www.buena.com/>
>
Video, Image and Audio Processing Development
>
_______________________________________________
>
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.
_______________________________________________
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.