Re: What type of view for a simple editable list?
Re: What type of view for a simple editable list?
- Subject: Re: What type of view for a simple editable list?
- From: p3consulting <email@hidden>
- Date: Wed, 18 Feb 2004 09:04:50 +0100
>
not automatically, no. As you say, you have to go to the add/remove
>
button situation.
>
>
or subclass NSTableView and use RETURN as the "new line" trigger
return = create after the selected one, at the end if none selected
shift return = create before the selected one, as first line if none
selected
(backspace/delete key for deleting selected line)
or always add an empty line at the end (` la FileMaker in "portals")
for the user to enter new data
this means testing for setting the object value of the last line in
(void)tableView:(NSTableView *)tableView setObjectValue:(id)object
forTableColumn:(NSTableColumn *)tableColumn row:(int)row
and add a new blank one there (and call noteNumberOfRowsChanged).
note that using text view to enter list data is also what does
FileMaker
the best is to test various solutions with you installed base or beta
testers
Pascal Pochet
email@hidden
_______________________________________________
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.