TheGU / fin-ally

Automatically exported from code.google.com/p/fin-ally
GNU General Public License v3.0
0 stars 0 forks source link

Update "Update" portion of CRUD app with Elixir #23

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The "Create" portion of the CRUD app appears to be functioning, but now we want 
to edit existing data. The medium for data editing will initially be the grid 
itself. Modification of a value in the grid should feed back into the database. 
This will involve:

(1) include the primary key IDs in the grid as hidden data. This will allow us 
to look up a database record based on the primary key when the user clicks on a 
row/cell
(2) create an "on edit" binding that allows the grid to capture edited data and 
get it ready for a database update
(3) create a "SetData" or "EditData" property in database.py. 

The line between #2 and #3 can be blurry - figure out how it best fits into the 
existing codebase

Original issue reported on code.google.com by Daniel.S...@gmail.com on 14 Aug 2010 at 12:45

GoogleCodeExporter commented 9 years ago
With the exception of the date object, all entries can be updated. 

Original comment by Daniel.S...@gmail.com on 15 Aug 2010 at 1:39

GoogleCodeExporter commented 9 years ago
grid-based date editing has been completed. This allows the user to hand-edit 
the datetime object displayed in the grid. It will be converted back into a 
python DateTime object and shoved into the database where appropriate.

Original comment by Daniel.S...@gmail.com on 15 Aug 2010 at 2:16