Can a table insert be implemented with an exclusive "addition row"?
Can a table insert be implemented with an exclusive "addition row"?
- Subject: Can a table insert be implemented with an exclusive "addition row"?
- From: Daryle Walker <email@hidden>
- Date: Sat, 16 Apr 2016 21:40:09 -0400
I haven’t done this; I’m just wondering if it’s possible.
Imagine a NSTableView with an extra row at the bottom. (If there are no records, the extra row would be the table’s sole row.) One of the columns has a grey-out string of “Add new name…” or something similar. If the user confirms new text in that cell, the row will become a real one in the table (in the last position) and a new extra row will appear below it ready for new input. (If the row was at the bottom of the view, the view will scroll the new extra row up into visibility.) It seems like a cooler alternative to having a “+” button lying around somewhere in the window. But would implementing it require too many heroic measures over using a button?
—
Daryle Walker
Mac, Internet, and Video Game Junkie
darylew AT mac DOT com
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden