Re: tableview data retrieval
Re: tableview data retrieval
- Subject: Re: tableview data retrieval
- From: Francois Reboursier <email@hidden>
- Date: Tue, 02 Apr 2002 17:09:37 +0200
On 4/2/02 6:22 AM, "Annie Felix" <email@hidden> wrote:
>
Hi all,
>
>
I have a table which is editable.On completion of text editing i require
>
the data entered in the column to be captured.I am using
>
NSTextDidEndEditingNotification to determine the end of text editing.
>
Now how do i capture the data which i have entered.When I click enter
>
which determines the end of textediting, the original value is displayed
>
in the table.
There's no need to use a notification for this.
Use the following method:
- (void)tableView:(NSTableView *)tableView setObjectValue:(id)object
forTableColumn:(NSTableColumn *)column row:(int)row
It's called automatically when you hit the "Return" key.
_______________________________________________
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.