timwis / dataface

Build and manage data with a spreadsheet-like interface
https://dataface-demo.herokuapp.com
43 stars 4 forks source link

Empty row at bottom was removed #50

Closed timwis closed 7 years ago

timwis commented 7 years ago

I did it by accident, now there's no way to add a new row.

EDIT: the new setNewValue event doesn't really account for this...

EDIT2: Option B in #28 may be the best way here, also gets 2 birds with 1 stone. Gosh I'm dreading refactoring...

EDIT3: Perhaps saveRow should check whether the row has primary key(s) set to determine whether to insert or update.