Re: Empty Table
Re: Empty Table
- Subject: Re: Empty Table
- From: "Louis C. Sacha" <email@hidden>
- Date: Fri, 7 May 2004 21:23:10 -0700
Hello...
It seems like using +/- buttons to add and delete rows (etc) is a
common procedure that Apple uses for this type of thing, so it should
be familiar to most users.
The other approach that Matt mentioned, adding a row using empty
strings @"" that the user can edit would work too, although to do it
well, you would probably need to detect when the that row was
finished being edited and then add a new blank row. Just adding a new
row a soon as the user starts typing in the empty row (or when the
user switches between columns in that row) might be a bit
distracting. Also, you would probably still need some mechanism for
deleting extra rows, which if you follow the same sort of approach
might mean removing a blank row if you detect more than one row in
the table that is blank. If the table has more than one column, the
whole thing might become more difficult to implement well, and less
user friendly.
Overall, I think I prefer the +/- button approach, and it's easier to
implement (of course, other peoples' preferences will vary). If this
table is a significant part of your application, and having menu
items to add/delete rows would be relevant, then you could add a key
shortcut to each menu item, which would give the people who don't
like to use the buttons a way to do it from the keyboard.
Hopefully I wasn't one of the people who roundly chastised you for
this approach in the past ;)
Louis
Matt, I had proposed the approach you describe on this list in the past and
was roundly chastised for requiring the user to press an add button which is
what has prompted the current question. Thanks for your support.
Anyone else have an idea?
On 5/7/04 2:28 PM, "Matt Jaffa" <email@hidden> wrote:
David,
What I have done before is either have a blank row that they can double
click and edit. Or I have had a button down at the bottom with a + sign
for adding, it doesn't matter, then it adds a blank row to the table
they edit the stuff, and then when either they change the view, push
add again, quit, I have it autosave that data or even save while they
are typing, depends on how you want them to edit it, or push the add
button have fields off to the side they enter which then get inserted
into that selected row.
Couple of ideas that I have done before.
Matt
_______________________________________________
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.