webismymind / editablegrid

EditableGrid is an open source Javascript library aimed at turning HTML tables into advanced editable components. It focuses on simplicity: only a few lines of code are required to get your first table up and running.
http://www.editablegrid.net
Other
795 stars 272 forks source link

Source data not updated when change data, click remove or duplicate button #191

Open gufur opened 6 years ago

gufur commented 6 years ago

Your work is exilent but I have an issue in my use of it. I started of by copying the full example using the demo .json file as input to my grid (as done in the example). Now using the "demo.json" file as source to load data into the grid, I expect the thas file to be updated with my changes in the grid (change of data, use of delete or duplicate button). How do I get the .json file updated with my changes in the grid? / Gunnar

priximmo commented 6 years ago

Hello,

have a solution for edit your tables ?

Thx

rubenbuturca commented 6 years ago

Premise: I am a developer like you, not the owner of this project.

Using the current source files, this project is unidirectional. That means it knows do display data and make it editable, but not saving any edit or delete or duplicate anywhere. For some reason they removed the PHP and JS files that dealt with add / delete / update, together with files that were using MySQL database as data source. Which is VERY BAD for us.

jybeaujean commented 6 years ago

Take a look at https://github.com/webismymind/editablegrid-mysql-example

rubenbuturca commented 6 years ago

Awesome - thanks! I thought you guys put that into a Tesla Roadster and sent it to space since there is no such example in https://github.com/webismymind/editablegrid !